Package org.opencms.gwt
Class CmsRpcException_CustomFieldSerializer
java.lang.Object
com.google.gwt.user.client.rpc.CustomFieldSerializer<CmsRpcException>
org.opencms.gwt.CmsRpcException_CustomFieldSerializer
public final class CmsRpcException_CustomFieldSerializer
extends com.google.gwt.user.client.rpc.CustomFieldSerializer<CmsRpcException>
GWT serializer for
CmsRpcException.
This deliberately serializes only the exception data maintained by
CmsRpcException. In particular, it prevents GWT from reflectively
accessing fields declared by Throwable, which is not permitted by
the Java module system.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeserialize(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader, CmsRpcException instance) Deserializes the exception data.voiddeserializeInstance(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader, CmsRpcException instance) static voidserialize(com.google.gwt.user.client.rpc.SerializationStreamWriter streamWriter, CmsRpcException instance) Serializes the exception data.voidserializeInstance(com.google.gwt.user.client.rpc.SerializationStreamWriter streamWriter, CmsRpcException instance) Methods inherited from class com.google.gwt.user.client.rpc.CustomFieldSerializer
hasCustomInstantiateInstance, instantiateInstance
-
Constructor Details
-
CmsRpcException_CustomFieldSerializer
-
-
Method Details
-
deserialize
public static void deserialize(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader, CmsRpcException instance) throws com.google.gwt.user.client.rpc.SerializationException Deserializes the exception data.- Parameters:
streamReader- the readerinstance- the instance- Throws:
com.google.gwt.user.client.rpc.SerializationException- if something goes wrong
-
serialize
public static void serialize(com.google.gwt.user.client.rpc.SerializationStreamWriter streamWriter, CmsRpcException instance) throws com.google.gwt.user.client.rpc.SerializationException Serializes the exception data.- Parameters:
streamWriter- the writerinstance- the instance- Throws:
com.google.gwt.user.client.rpc.SerializationException- if something goes wrong
-
deserializeInstance
public void deserializeInstance(com.google.gwt.user.client.rpc.SerializationStreamReader streamReader, CmsRpcException instance) throws com.google.gwt.user.client.rpc.SerializationException - Specified by:
deserializeInstancein classcom.google.gwt.user.client.rpc.CustomFieldSerializer<CmsRpcException>- Throws:
com.google.gwt.user.client.rpc.SerializationException- See Also:
-
serializeInstance
public void serializeInstance(com.google.gwt.user.client.rpc.SerializationStreamWriter streamWriter, CmsRpcException instance) throws com.google.gwt.user.client.rpc.SerializationException - Specified by:
serializeInstancein classcom.google.gwt.user.client.rpc.CustomFieldSerializer<CmsRpcException>- Throws:
com.google.gwt.user.client.rpc.SerializationException- See Also:
-