|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.websphere.product.WASDirectoryException
public class WASDirectoryException
Class WASProductException encodes an exception throw by WASProduct. An exception may or may not be bound within a WASProductException instance. A NLS enabled message may be set within a WASDirectoryException.
Field Summary | |
---|---|
protected java.lang.Exception |
boundException
Nested exception |
protected java.lang.String |
text
Exception text |
Constructor Summary | |
---|---|
WASDirectoryException(java.lang.String msgKey)
Parameterizied constructor: make a new WASDirectoryException instance, binding in the NLS text associated with the argument message key. |
|
WASDirectoryException(java.lang.String msgKey,
java.lang.Exception exception)
Parameterizied constructor: make a new WASDirectoryException instance, binding in the NLS text associated with the argument message key, and binding in the argument exception. |
|
WASDirectoryException(java.lang.String msgKey,
java.lang.Object[] msgArgs,
java.lang.Exception exception)
Parameterizied constructor: make a new WASDirectoryException instance, binding in the NLS text associated with the argument message key, and binding in the argument exception. |
Method Summary | |
---|---|
java.lang.Exception |
getBoundException()
Answer the exception bound into the receiver. |
java.lang.String |
getText()
Answer the text bound into the receiver. |
void |
printStackTrace(java.io.PrintStream output)
Print the stack trace of the receiver to the argument print stream. |
java.lang.String |
toString()
Answer a string representation of the receiver. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.Exception boundException
protected java.lang.String text
Constructor Detail |
---|
public WASDirectoryException(java.lang.String msgKey)
Parameterizied constructor: make a new WASDirectoryException instance, binding in the NLS text associated with the argument message key.
msgKey
- The key to an NLS enabled message.public WASDirectoryException(java.lang.String msgKey, java.lang.Exception exception)
Parameterizied constructor: make a new WASDirectoryException instance, binding in the NLS text associated with the argument message key, and binding in the argument exception. The exception may be null.
msgKey
- The key to an NLS enabled message.exception
- An exception to bind into the receiver.public WASDirectoryException(java.lang.String msgKey, java.lang.Object[] msgArgs, java.lang.Exception exception)
Parameterizied constructor: make a new WASDirectoryException instance, binding in the NLS text associated with the argument message key, and binding in the argument exception. The message arguments are substituted into the NLS text. The exception may be null.
msgKey
- The key to an NLS enabled message.msgArgs
- An array of arguments to be substituted into the
NLS message.exception
- An exception to bind into the receiver.Method Detail |
---|
public java.lang.Exception getBoundException()
public java.lang.String getText()
public java.lang.String toString()
Answer a string representation of the receiver. This string combines the text of the receiver with the text of the bound exception (if present).
toString
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream output)
printStackTrace
in class java.lang.Throwable
output
- A print stream onto which to print the
stack trace of the receiver.
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |