wt.step.processor
Class TransferException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bywt.step.processor.TransferException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MandatoryAttributeException

public class TransferException
extends Exception

The exception thrown when the STEP Import or Export processes fails. The TransferException may wrap an internal exception/error thrown from lower down in the process.

See Also:
Serialized Form

Field Summary
private  Throwable myException
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
TransferException(String message)
          Constructs a transfer exception with the given message.
TransferException(String message, Throwable exception)
          Constructs a transfer exception wrapping the given exception/error with the given message.
TransferException(Throwable exception)
          Constructs a transfer exception wrapping the given exception/error.
 
Method Summary
 Throwable getInnerException()
          Accessor for the inner exception rethrown as this TransferException.
 void printStackTrace()
           
 void printStackTrace(PrintStream s)
           
 void printStackTrace(PrintWriter writer)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

myException

private Throwable myException
Constructor Detail

TransferException

public TransferException(String message)
Constructs a transfer exception with the given message.


TransferException

public TransferException(Throwable exception)
Constructs a transfer exception wrapping the given exception/error.


TransferException

public TransferException(String message,
                         Throwable exception)
Constructs a transfer exception wrapping the given exception/error with the given message.

Method Detail

getInnerException

public Throwable getInnerException()
Accessor for the inner exception rethrown as this TransferException. May be null.


toString

public String toString()

printStackTrace

public void printStackTrace(PrintStream s)

printStackTrace

public void printStackTrace()

printStackTrace

public void printStackTrace(PrintWriter writer)