com.iplanet.portalserver.providers
Class ProviderWrapperException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.iplanet.portalserver.providers.ProviderException
                    |
                    +--com.iplanet.portalserver.providers.ProviderWrapperException
Direct Known Subclasses:
ProfileProviderException

public class ProviderWrapperException
extends ProviderException
implements com.iplanet.portalserver.desktop.util.WrapperException

This class wraps one exception within another and provides access to the original exception. The purpose of this class to provide a mechanism to pass all types of exception back to the desktop application in a well- define manner without it having to "catch" arbitrary exceptions.

See Also:
Serialized Form

Constructor Summary
ProviderWrapperException(java.lang.String msg, java.lang.Exception e)
          Create a new wrapper exception.
 
Method Summary
 java.lang.Exception getWrappedException()
          Access the wrapped exception.
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 java.lang.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

ProviderWrapperException

public ProviderWrapperException(java.lang.String msg,
                                java.lang.Exception e)
Create a new wrapper exception.
Parameters:
e - The exception to be wrapper.
Method Detail

getWrappedException

public java.lang.Exception getWrappedException()
Access the wrapped exception.
Specified by:
getWrappedException in interface com.iplanet.portalserver.desktop.util.WrapperException
Returns:
The wrapped exception.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Overrides:
printStackTrace in class java.lang.Throwable