| java.lang.Object java.lang.Throwable java.lang.Exception com.sun.portal.providers.ProviderException
All known Subclasses: com.sun.portal.providers.containers.jsp.tab.util.TabException, com.sun.portal.providers.util.UnknownLayoutException, com.sun.portal.providers.urlscraper.ContentFilterException, com.sun.portal.providers.UnknownEditTypeException, com.sun.portal.desktop.encode.EncoderException, com.sun.portal.providers.containers.UnsupportedWindowStateException, com.sun.portal.providers.userinfo.tag.TagException, com.sun.portal.providers.urlscraper.InvalidFetcherURLException, com.sun.portal.providers.InvalidEditFormDataException,
ProviderException | public class ProviderException extends Exception implements TypedException(Code) | | This exception is a generic superclass for all provider related
exceptions. All exceptions deliberately-thrown from a provider
should be a subclass of this.
|
Field Summary | |
protected Throwable | wrapped The root cause of the exception, or null if this exception is
the root cause. |
wrapped | protected Throwable wrapped(Code) | | The root cause of the exception, or null if this exception is
the root cause.
|
ProviderException | public ProviderException(String msg)(Code) | | 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)(Code) | | 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. Parameters: e - The original exception or error . |
ProviderException | public ProviderException(String msg, String type)(Code) | | Constructs a new exception with the specified message and the exception type defined in TypedException interface
So that the proper error template is shown to user.
Parameters: msg - Parameters: type - |
getWrapped | public Throwable getWrapped()(Code) | | Returns the Throwable object which is the root cause of
the exception. It returns null if this exception is the root cause.
|
printStackTrace | public void printStackTrace()(Code) | | Prints the stack backtrace. If the wrapped object is not null then
it also prints the stack backtrace of that exception.
|
printStackTrace | public void printStackTrace(PrintStream s)(Code) | | Prints the stack backtrace to the specified print stream.
If the wrapped object is not null then it also prints the stack
backtrace of that exception.
|
printStackTrace | public void printStackTrace(PrintWriter s)(Code) | | Prints the stack backtrace to the specified print writer.
If the wrapped object is not null then it also prints the stack
backtrace of that exception.
|
toString | public String toString()(Code) | | Returns a descriptive message of this exception. If the wrapped object is
not null, the appends the description of the wrapped object to the
result.
|
|
|