org.directwebremoting.extend
Class ServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.directwebremoting.extend.ServerException
All Implemented Interfaces:
java.io.Serializable

public class ServerException
extends java.lang.Exception

Something has gone wrong when we were doing some conversion.

Author:
Joe Walker [joe at getahead dot ltd dot uk]
See Also:
Serialized Form

Constructor Summary
ServerException()
          Default ctor
ServerException(java.lang.String message)
          Construct a MarshallException with a description message and exception
ServerException(java.lang.String message, java.lang.Throwable ex)
          Construct a MarshallException with a description message and exception
ServerException(java.lang.Throwable ex)
          Construct a MarshallException with an exception
 
Method Summary
 java.lang.Throwable getCause()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerException

public ServerException()
Default ctor


ServerException

public ServerException(java.lang.String message)
Construct a MarshallException with a description message and exception

Parameters:
message - error description

ServerException

public ServerException(java.lang.String message,
                       java.lang.Throwable ex)
Construct a MarshallException with a description message and exception

Parameters:
message - error description
ex - error stack trace

ServerException

public ServerException(java.lang.Throwable ex)
Construct a MarshallException with an exception

Parameters:
ex - error stack trace
Method Detail

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable
Returns:
The cause of this exception (if any)