Class CmsRpcException

All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, Serializable
Direct Known Subclasses:
CmsUgcException

public class CmsRpcException extends Exception implements com.google.gwt.user.client.rpc.IsSerializable
GWT RPC Exception. Wrapper for exceptions thrown while processing a RPC request.

As of the current state of exception serialization within GWT, details of the original throwable are kept to be available on the client.

Since:
8.0.0
See Also:
  • Constructor Details

  • Method Details

    • getOriginalCauseMessage

      Returns the cause message.

      Returns:
      the cause message
    • getOriginalClassName

      Returns the original class name.

      Returns:
      the original class name
    • getOriginalMessage

      Returns the original message.

      Returns:
      the original message
    • getOriginalStackTrace

      Returns the original stack trace.

      Returns:
      the original stack trace
    • setOriginalClassName

      public void setOriginalClassName(String originalClassName)
      Sets the original class name.

      Parameters:
      originalClassName - the original class name to set
    • setOriginalMessage

      public void setOriginalMessage(String originalMessage)
      Sets the original message.

      Parameters:
      originalMessage - the original message to set
    • setOriginalCauseMessage

      protected void setOriginalCauseMessage(String originalCauseMessage)
      Sets the original cause message.

      Parameters:
      originalCauseMessage - the original cause message
    • setOriginalStackTrace

      protected void setOriginalStackTrace(StackTraceElement[] trace)
      Sets the original stack trace.

      Parameters:
      trace - the original stack trace