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.

 
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

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