Uses of Class com.google.gwt.user.client.rpc.SerializationException (GWT Javadoc)

Overview | Package | Class | Use | Deprecated | Help
| GWT 2.7.0
PREV NEXT | FRAMES NO FRAMES

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

Packages that use SerializationException
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.user.client.rpc

Subclasses of SerializationException in com.google.gwt.user.client.rpc
`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
`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
`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.encodeResponseForFailedRequest(RPCRequest rpcRequest, 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)` 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)`
`java.lang.String` | `RemoteServiceServlet.processCall(RPCRequest rpcRequest)` Process an already decoded RPC request.
`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.

Overview | Package | Class | Use | Deprecated | Help
| GWT 2.7.0
PREV NEXT | FRAMES NO FRAMES