com.sun.portal.providers.context
Class ProviderContextException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.sun.portal.providers.context.ProviderContextException
- All Implemented Interfaces:
- Serializable
- public class ProviderContextException
- extends Exception
This exception is a generic superclass for all provider related
exceptions. All exceptions deliberately-thrown from a provider
should be a subclass of this.
- See Also:
- Serialized Form
Constructor Summary |
ProviderContextException(String msg)
Constructs a new exception with the specified message, indicating an
error in the provider context as happened.
|
ProviderContextException(String msg,
Throwable e)
Constructs a new exception with the specified message, and the original
exception or error , indicating an error in the
provider context as happened.
|
ProviderContextException
public ProviderContextException(String msg)
- Constructs a new exception with the specified message, indicating an
error in the provider context as happened.
- Parameters:
msg
- The descriptive message.
ProviderContextException
public ProviderContextException(String msg,
Throwable e)
- Constructs a new exception with the specified message, and the original
exception
or error
, indicating an error in the
provider context as happened.
- Parameters:
msg
- The descriptive message.e
- The original exception
or error
.
getWrapped
public Throwable getWrapped()
toString
public String toString()
- Overrides:
toString
in class Throwable
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintWriter s)
- Overrides:
printStackTrace
in class Throwable