## Uses of Class
com.google.gwt.user.client.rpc.SerializationException

- Packages that use SerializationException
  Package | Description
  --- | ---
  com.google.gwt.rpc.server | Contains the server-side APIs for deRPC.
  com.google.gwt.user.client.rpc | Classes used in client-side implementation of remote procedure calls.
  com.google.gwt.user.server.rpc | Classes used in server-side implementation of remote procedure calls.

- - ### Uses of SerializationException in com.google.gwt.rpc.server

    Methods in com.google.gwt.rpc.server that throw SerializationException
    Modifier and Type | Method and Description
    --- | ---
    `void` | WebModePayloadSink.`accept(com.google.gwt.rpc.client.ast.RpcCommand command)`
    `protected java.io.InputStream` | RpcServlet.`findClientOracleData(java.lang.String requestModuleBasePath, java.lang.String permutationStrongName)` Override this method to control access to permutation-specific data.
    `void` | WebModePayloadSink.`finish()` The caller must close the stream.
    `ClientOracle` | RpcServlet.`getClientOracle()` This method creates the ClientOracle that will provide data about the remote client.
    `static void` | RPC.`invokeAndStreamResponse(java.lang.Object target, java.lang.reflect.Method serviceMethod, java.lang.Object[] args, ClientOracle clientOracle, java.io.OutputStream stream)`
    `protected com.google.gwt.rpc.client.ast.ValueCommand` | CommandServerSerializationStreamWriter.`makeValue(java.lang.Class<?> type, java.lang.Object value)` Type is passed in to handle primitive types.
    `void` | RpcServlet.`processCall(ClientOracle clientOracle, java.lang.String payload, java.io.OutputStream stream)` Process a call originating from the given request.
    `void` | RpcServlet.`processPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` Standard HttpServlet method: handle the POST.
    `boolean` | CommandServerSerializationStreamReader.`readBoolean()`
    `byte` | CommandServerSerializationStreamReader.`readByte()`
    `char` | CommandServerSerializationStreamReader.`readChar()`
    `double` | CommandServerSerializationStreamReader.`readDouble()`
    `float` | CommandServerSerializationStreamReader.`readFloat()`
    `int` | CommandServerSerializationStreamReader.`readInt()`
    `long` | CommandServerSerializationStreamReader.`readLong()`
    `java.lang.Object` | CommandSerializationUtil.Accessor.`readNext(SerializationStreamReader reader)`
    `java.lang.Object` | CommandServerSerializationStreamReader.`readObject()`
    `short` | CommandServerSerializationStreamReader.`readShort()`
    `java.lang.String` | CommandServerSerializationStreamReader.`readString()`
    `(package private) void` | WebModePayloadSink.`send(java.nio.ByteBuffer x)`
    `(package private) void` | WebModePayloadSink.`send(java.lang.String x)`
    `static void` | RPC.`streamResponseForFailure(ClientOracle clientOracle, java.io.OutputStream out, java.lang.Throwable payload)`
    `static void` | RPC.`streamResponseForSuccess(ClientOracle clientOracle, java.io.OutputStream out, java.lang.Object payload)`

  - ### Uses of SerializationException in com.google.gwt.user.client.rpc

    Subclasses of SerializationException in com.google.gwt.user.client.rpc
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SerializedTypeViolationException` Exception that will be passed to the `AsyncCallback.onFailure(Throwable)` method when the value of an argument to a method in an RPC message is of the incorrect type.

    Methods in com.google.gwt.user.client.rpc that throw SerializationException
    Modifier and Type | Method and Description
    --- | ---
    `SerializationStreamReader` | SerializationStreamFactory.`createStreamReader(java.lang.String encoded)` Creates a `SerializationStreamReader` for the encoded string.
    `abstract void` | CustomFieldSerializer.`deserializeInstance(SerializationStreamReader streamReader, T instance)` Deserializes the content of the object from the `SerializationStreamReader`.
    `T` | CustomFieldSerializer.`instantiateInstance(SerializationStreamReader streamReader)` Instantiates an object from the `SerializationStreamReader`.
    `boolean` | SerializationStreamReader.`readBoolean()`
    `byte` | SerializationStreamReader.`readByte()`
    `char` | SerializationStreamReader.`readChar()`
    `double` | SerializationStreamReader.`readDouble()`
    `float` | SerializationStreamReader.`readFloat()`
    `int` | SerializationStreamReader.`readInt()`
    `long` | SerializationStreamReader.`readLong()`
    `java.lang.Object` | SerializationStreamReader.`readObject()`
    `short` | SerializationStreamReader.`readShort()`
    `java.lang.String` | SerializationStreamReader.`readString()`
    `abstract void` | CustomFieldSerializer.`serializeInstance(SerializationStreamWriter streamWriter, T instance)` Serializes the content of the object into the `SerializationStreamWriter`.
    `void` | SerializationStreamWriter.`writeBoolean(boolean value)`
    `void` | SerializationStreamWriter.`writeByte(byte value)`
    `void` | SerializationStreamWriter.`writeChar(char value)`
    `void` | SerializationStreamWriter.`writeDouble(double value)`
    `void` | SerializationStreamWriter.`writeFloat(float value)`
    `void` | SerializationStreamWriter.`writeInt(int value)`
    `void` | SerializationStreamWriter.`writeLong(long value)`
    `void` | SerializationStreamWriter.`writeObject(java.lang.Object value)`
    `void` | SerializationStreamWriter.`writeShort(short value)`
    `void` | SerializationStreamWriter.`writeString(java.lang.String value)`

  - ### Uses of SerializationException in com.google.gwt.user.server.rpc

    Methods in com.google.gwt.user.server.rpc that throw SerializationException
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | ServerCustomFieldSerializer.`deserializeInstance(com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader streamReader, T instance, java.lang.reflect.Type[] expectedParameterTypes, com.google.gwt.user.server.rpc.impl.DequeMap<java.lang.reflect.TypeVariable<?>,java.lang.reflect.Type> resolvedTypes)` Deserializes the content of the object from the `ServerSerializationStreamReader`, with type checking.
    `static java.lang.String` | RPC.`encodeResponseForFailure(java.lang.reflect.Method serviceMethod, java.lang.Throwable cause)` Returns a string that encodes an exception.
    `static java.lang.String` | RPC.`encodeResponseForFailure(java.lang.reflect.Method serviceMethod, java.lang.Throwable cause, SerializationPolicy serializationPolicy)` Returns a string that encodes an exception.
    `static java.lang.String` | RPC.`encodeResponseForFailure(java.lang.reflect.Method serviceMethod, java.lang.Throwable cause, SerializationPolicy serializationPolicy, int flags)`
    `static java.lang.String` | RPC.`encodeResponseForSuccess(java.lang.reflect.Method serviceMethod, java.lang.Object object)` Returns a string that encodes the object.
    `static java.lang.String` | RPC.`encodeResponseForSuccess(java.lang.reflect.Method serviceMethod, java.lang.Object object, SerializationPolicy serializationPolicy)` Returns a string that encodes the object.
    `static java.lang.String` | RPC.`encodeResponseForSuccess(java.lang.reflect.Method serviceMethod, java.lang.Object object, SerializationPolicy serializationPolicy, int flags)`
    `T` | ServerCustomFieldSerializer.`instantiateInstance(com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader streamReader)` Instantiates an object from the `ServerSerializationStreamReader`, without type checking.
    `T` | ServerCustomFieldSerializer.`instantiateInstance(com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader streamReader, java.lang.reflect.Type[] expectedParameterTypes, com.google.gwt.user.server.rpc.impl.DequeMap<java.lang.reflect.TypeVariable<?>,java.lang.reflect.Type> resolvedTypes)` Instantiates an object from the `ServerSerializationStreamReader`, with type checking.
    `static java.lang.String` | RPC.`invokeAndEncodeResponse(java.lang.Object target, java.lang.reflect.Method serviceMethod, java.lang.Object[] args)` Returns a string that encodes the result of calling a service method, which could be the value returned by the method or an exception thrown by it.
    `static java.lang.String` | RPC.`invokeAndEncodeResponse(java.lang.Object target, java.lang.reflect.Method serviceMethod, java.lang.Object[] args, SerializationPolicy serializationPolicy)` Returns a string that encodes the result of calling a service method, which could be the value returned by the method or an exception thrown by it.
    `static java.lang.String` | RPC.`invokeAndEncodeResponse(java.lang.Object target, java.lang.reflect.Method serviceMethod, java.lang.Object[] args, SerializationPolicy serializationPolicy, int flags)`
    `void` | HybridServiceServlet.`processCall(ClientOracle clientOracle, java.lang.String payload, java.io.OutputStream stream)`
    `java.lang.String` | HybridServiceServlet.`processCall(java.lang.String payload)`
    `java.lang.String` | RemoteServiceServlet.`processCall(java.lang.String payload)` Process a call originating from the given request.
    `void` | RemoteServiceServlet.`processPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` Standard HttpServlet method: handle the POST.
    `abstract void` | SerializationPolicy.`validateDeserialize(java.lang.Class<?> clazz)` Validates that the specified class should be deserialized from a stream.
    `abstract void` | SerializationPolicy.`validateSerialize(java.lang.Class<?> clazz)` Validates that the specified class should be serialized into a stream.