Package org.apache.wsil
Class WSILException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.wsil.WSILException
- All Implemented Interfaces:
Serializable
Primary WS-Inpsection exception.
- Version:
- 1.0
- Author:
- Peter Brittenham
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate an exception without a message.WSILException
(String msg) Create an exception with a message.WSILException
(String msg, Throwable throwable) Create an exception with a message and related exception. -
Method Summary
Modifier and TypeMethodDescriptionReturns the String representation of this object's values.Returns the exception that caused this exception to be created.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
throwable
Throwable.
-
-
Constructor Details
-
WSILException
public WSILException()Create an exception without a message. -
WSILException
Create an exception with a message.- Parameters:
msg
- the exception message
-
WSILException
Create an exception with a message and related exception.- Parameters:
msg
- the exception messagethrowable
- throwable that is related to this exception
-
-
Method Details
-
getMessage
Returns the String representation of this object's values.- Overrides:
getMessage
in classThrowable
- Returns:
- Returns the detail message of this throwable object.
-
getTargetException
Returns the exception that caused this exception to be created.- Returns:
- Returns the encapsulated throwable object.
-