Package org.apache.wsil
Class WSILException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- 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
Fields Modifier and Type Field Description protected java.lang.Throwable
throwable
Throwable.
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 messagethrowable
- 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 classjava.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.
-
-