org.purl.sword.base
Class UnmarshallException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.purl.sword.base.UnmarshallException
All Implemented Interfaces:
Serializable

public class UnmarshallException
extends Exception

Represents information about an exception that is generated during the Unmarshall process.

Author:
Neil Taylor
See Also:
Serialized Form

Constructor Summary
UnmarshallException(String message)
          Create a new instance and store the specified message.
UnmarshallException(String message, Exception source)
          Create a new instance and store the specified message and source data.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

UnmarshallException

public UnmarshallException(String message,
                           Exception source)
Create a new instance and store the specified message and source data.

Parameters:
message - The message for the exception.
source - The original exception that lead to this exception. This can be null.

UnmarshallException

public UnmarshallException(String message)
Create a new instance and store the specified message.

Parameters:
message - The message for the exception.


Copyright © 2011 DuraSpace. All Rights Reserved.