com.allen_sauer.gwt.log.shared
Class UnwrappedClientThrowable

java.lang.Object
  extended by java.lang.Throwable
      extended by com.allen_sauer.gwt.log.shared.UnwrappedClientThrowable
All Implemented Interfaces:
java.io.Serializable

public class UnwrappedClientThrowable
extends java.lang.Throwable

Representation of a client-side thrown exception, which can be re-instantiated on the server.

See Also:
Serialized Form

Method Summary
 java.lang.Throwable fillInStackTrace()
          Method does nothing.
 UnwrappedClientThrowable getCause()
          Returns an UnwrappedClientThrowable.
static UnwrappedClientThrowable getInstanceOrNull(WrappedClientThrowable wrapped)
           
 java.lang.String getLocalizedMessage()
          Returns the same value as getMessage().
 java.lang.String getMessage()
          Returns the same value as getMessage().
 java.lang.Throwable initCause(java.lang.Throwable cause)
          Unimplemented.
 java.lang.String toString()
          Returns the result of calling toString() on the original exception.
 
Methods inherited from class java.lang.Throwable
getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstanceOrNull

public static UnwrappedClientThrowable getInstanceOrNull(WrappedClientThrowable wrapped)

fillInStackTrace

public java.lang.Throwable fillInStackTrace()
Method does nothing.

Overrides:
fillInStackTrace in class java.lang.Throwable
Returns:
this

getCause

public UnwrappedClientThrowable getCause()
Returns an UnwrappedClientThrowable.

Overrides:
getCause in class java.lang.Throwable
Returns:
the UnwrappedClientThrowable

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Returns the same value as getMessage().

Overrides:
getLocalizedMessage in class java.lang.Throwable
Returns:
Throwable.getMessage() from the original exception

getMessage

public java.lang.String getMessage()
Returns the same value as getMessage().

Overrides:
getMessage in class java.lang.Throwable
Returns:
Throwable.getMessage() from the original exception

initCause

public java.lang.Throwable initCause(java.lang.Throwable cause)
Unimplemented.

Overrides:
initCause in class java.lang.Throwable
Parameters:
cause - unused parameter; an exception is thrown instead
Returns:
nothing; an exception is thrown instead
Throws:
java.lang.UnsupportedOperationException

toString

public java.lang.String toString()
Returns the result of calling toString() on the original exception.

Overrides:
toString in class java.lang.Throwable
Returns:
the result of calling toString() on the original exception