Package com.google.gwt.user.client.rpc
Class SerializableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.gwt.user.client.rpc.SerializableException
-
- All Implemented Interfaces:
IsSerializable,java.io.Serializable
@Deprecated public class SerializableException extends java.lang.Exception implements IsSerializable
Deprecated.As of GWT 1.5,ExceptionimplementsSerializableand can be used in place of this classSuperclass for exceptions thrown from RPC methods (those appearing in interfaces derived fromRemoteService).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SerializableException()Deprecated.The default constructor.SerializableException(java.lang.String msg)Deprecated.Constructs a serializable exception with the specified message.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.ThrowablegetCause()Deprecated.Exception chaining is not currently supported for serialized exceptions.java.lang.ThrowableinitCause(java.lang.Throwable cause)Deprecated.No effect; exception chaining is not currently supported for serialized exceptions.
-
-
-
Constructor Detail
-
SerializableException
public SerializableException()
Deprecated.The default constructor. This constructor is used implicitly during serialization or when constructing subclasses.
-
SerializableException
public SerializableException(java.lang.String msg)
Deprecated.Constructs a serializable exception with the specified message. This constructor is most often called by subclass constructors.
-
-
Method Detail
-
getCause
public java.lang.Throwable getCause()
Deprecated.Exception chaining is not currently supported for serialized exceptions.- Overrides:
getCausein classjava.lang.Throwable- Returns:
- always
null
-
initCause
public java.lang.Throwable initCause(java.lang.Throwable cause)
Deprecated.No effect; exception chaining is not currently supported for serialized exceptions.- Overrides:
initCausein classjava.lang.Throwable
-
-