com.sun.portal.providers
Class ProviderException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.sun.portal.providers.ProviderException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- InvalidEditFormDataException, UnknownEditTypeException
- public class ProviderException
- 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 |
ProviderException(String msg)
Constructs a new exception with the specified message, indicating an
error in the provider as happened.
|
ProviderException(String msg,
Throwable e)
Constructs a new exception with the specified message, and the original
exception or error , indicating an error in the provider as happened.
|
ProviderException
public ProviderException(String msg)
- Constructs a new exception with the specified message, indicating an
error in the provider as happened.
- Parameters:
msg
- The descriptive message.
ProviderException
public ProviderException(String msg,
Throwable e)
- Constructs a new exception with the specified message, and the original
exception
or error
, indicating an error in the provider 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