org.directwebremoting.extend
Class MarshallException

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

public class MarshallException
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
MarshallException(java.lang.Class paramType)
          Default ctor
MarshallException(java.lang.Class paramType, java.lang.String message)
          Construct a MarshallException with a description message and exception
MarshallException(java.lang.Class paramType, java.lang.Throwable ex)
          Construct a MarshallException with an exception and a destination type
 
Method Summary
 java.lang.Throwable getCause()
           
 java.lang.Class getConversionType()
          Accessor for the type we are converting to/from
 
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

MarshallException

public MarshallException(java.lang.Class paramType)
Default ctor

Parameters:
paramType - The type we were trying to marshall

MarshallException

public MarshallException(java.lang.Class paramType,
                         java.lang.Throwable ex)
Construct a MarshallException with an exception and a destination type

Parameters:
paramType - The type we were trying to marshall
ex - error stack trace

MarshallException

public MarshallException(java.lang.Class paramType,
                         java.lang.String message)
Construct a MarshallException with a description message and exception

Parameters:
paramType - The type we were trying to marshall
message - error description
Method Detail

getCause

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

getConversionType

public java.lang.Class getConversionType()
Accessor for the type we are converting to/from

Returns:
The type we are converting to/from