org.jibx.soap
Class SOAPException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jibx.soap.SOAPException
All Implemented Interfaces:
java.io.Serializable

public class SOAPException
extends java.lang.Exception

SOAP process exception class. This is used for a variety of errors that can be generated by the runtime.

Version:
1.0
Author:
Dennis M. Sosnoski
See Also:
Serialized Form

Constructor Summary
SOAPException(java.lang.String msg)
          Constructor from message.
SOAPException(java.lang.String msg, java.lang.Throwable root)
          Constructor from message and wrapped exception.
 
Method Summary
 java.lang.Throwable getRootCause()
          Get root cause exception.
 void printStackTrace()
          Print stack trace to standard error.
 void printStackTrace(java.io.PrintStream s)
          Print stack trace to stream.
 void printStackTrace(java.io.PrintWriter s)
          Print stack trace to writer.
 java.lang.String toString()
          Build string representation.
 
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
 

Constructor Detail

SOAPException

public SOAPException(java.lang.String msg)
Constructor from message.

Parameters:
msg - message describing the exception condition

SOAPException

public SOAPException(java.lang.String msg,
                     java.lang.Throwable root)
Constructor from message and wrapped exception.

Parameters:
msg - message describing the exception condition
root - exception which caused this exception
Method Detail

getRootCause

public java.lang.Throwable getRootCause()
Get root cause exception.

Returns:
exception that caused this exception

toString

public java.lang.String toString()
Build string representation. If there's no wrapped exception this just returns the usual text, otherwise it appends the wrapped exception information to the text generated from this one.

Returns:
string representation

printStackTrace

public void printStackTrace()
Print stack trace to standard error. This is an override of the base class method to implement exception chaining.


printStackTrace

public void printStackTrace(java.io.PrintStream s)
Print stack trace to stream. This is an override of the base class method to implement exception chaining.

Parameters:
s - stream for printing stack trace

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Print stack trace to writer. This is an override of the base class method to implement exception chaining.

Parameters:
s - writer for printing stack trace


Project Web Site