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.

 
Method Summary
 Throwable getWrapped()
           
 void printStackTrace()
           
 void printStackTrace(PrintStream s)
           
 void printStackTrace(PrintWriter s)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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