org.apache.wsil
Class WSILException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.wsil.WSILException
All Implemented Interfaces:
java.io.Serializable

public class WSILException
extends java.lang.Exception

Primary WS-Inpsection exception.

Version:
1.0
Author:
Peter Brittenham
See Also:
Serialized Form

Field Summary
protected  java.lang.Throwable throwable
          Throwable.
 
Constructor Summary
WSILException()
          Create an exception without a message.
WSILException(java.lang.String msg)
          Create an exception with a message.
WSILException(java.lang.String msg, java.lang.Throwable throwable)
          Create an exception with a message and related exception.
 
Method Summary
 java.lang.String getMessage()
          Returns the String representation of this object's values.
 java.lang.Throwable getTargetException()
          Returns the exception that caused this exception to be created.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

throwable

protected java.lang.Throwable throwable
Throwable.

Constructor Detail

WSILException

public WSILException()
Create an exception without a message.


WSILException

public WSILException(java.lang.String msg)
Create an exception with a message.

Parameters:
msg - the exception message

WSILException

public WSILException(java.lang.String msg,
                     java.lang.Throwable throwable)
Create an exception with a message and related exception.

Parameters:
msg - the exception message
throwable - throwable that is related to this exception
Method Detail

getMessage

public java.lang.String getMessage()
Returns the String representation of this object's values.

Overrides:
getMessage in class java.lang.Throwable
Returns:
Returns the detail message of this throwable object.

getTargetException

public java.lang.Throwable getTargetException()
Returns the exception that caused this exception to be created.

Returns:
Returns the encapsulated throwable object.


Copyright ? 2001 International Business Machines Corporation. All Rights Reserved.