com.bea.control
Class ControlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.bea.control.ControlException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- weblogic.jws.control.ControlException
public class ControlException
- extends java.lang.RuntimeException
An exception class for use when throwing exceptions
from a control. It is recommended that you wrap exceptions
thrown by a control in a ControlException. This class
provides a means for adding exceptions that
may have been received by your control.
- See Also:
- Serialized Form
Constructor Summary |
ControlException(java.lang.String message)
Constructs a ControlException object with the
specified String as a message. |
ControlException(java.lang.String message,
java.lang.Throwable t)
Constructs a ControlException object using the
specified String as a message, and the specified
Throwable as a nested exception. |
Method Summary |
java.lang.Throwable |
getNestedException()
Retrieves an exception nested within this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ControlException
public ControlException(java.lang.String message)
- Constructs a ControlException object with the
specified String as a message.
- Parameters:
message
- The message to use.
ControlException
public ControlException(java.lang.String message,
java.lang.Throwable t)
- Constructs a ControlException object using the
specified String as a message, and the specified
Throwable as a nested exception.
- Parameters:
message
- The message to use.t
- The exception to nest within this
exception.
getNestedException
public java.lang.Throwable getNestedException()
- Retrieves an exception nested within this exception.
- Returns:
- The nested exception.
Copyright © 2003 BEA Systems. All rights reserved