org.pentaho.platform.api.util
Class PentahoCheckedChainedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.pentaho.platform.api.util.PentahoCheckedChainedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ActionInfo.ActionInfoParseException, AdhocWebServiceException, BackgroundExecutionException, ComponentException, DatasourceMgmtServiceException, DatasourceServiceException, DuplicateDatasourceException, FilterPanelException, InvalidDocumentException, MissingParameterException, NonExistingDatasourceException, ObjectFactoryException, PasswordServiceException, PentahoAccessControlException, PentahoSystemException, PluginLifecycleException, SolutionRepositoryException, SolutionRepositoryServiceException, SubscriptionAdminException, SubscriptionRepositoryCheckedException, SubscriptionSchedulerException, XmlParseException

public abstract class PentahoCheckedChainedException
extends Exception

Author:
Steven Barkdull
See Also:
Serialized Form

Constructor Summary
PentahoCheckedChainedException()
           
PentahoCheckedChainedException(String message)
          Constructor
PentahoCheckedChainedException(String message, Throwable reas)
          Constructor
PentahoCheckedChainedException(Throwable reas)
          Constructor
 
Method Summary
 Throwable getRootCause()
          Gets the root cause of the exception.
 void printStackTrace(PrintStream ps)
          Prints the exception trace to the specified print stream.
 void printStackTrace(PrintWriter pw)
          Prints the exception trace to the specified print writer
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PentahoCheckedChainedException

public PentahoCheckedChainedException()

PentahoCheckedChainedException

public PentahoCheckedChainedException(String message)
Constructor

Parameters:
message - The message to be carried by the exception.

PentahoCheckedChainedException

public PentahoCheckedChainedException(String message,
                                      Throwable reas)
Constructor

Parameters:
message - The message.
reas - The root cause of the exception.

PentahoCheckedChainedException

public PentahoCheckedChainedException(Throwable reas)
Constructor

Parameters:
reas - The cause of this exception
Method Detail

getRootCause

public Throwable getRootCause()
Gets the root cause of the exception.


printStackTrace

public void printStackTrace(PrintWriter pw)
Prints the exception trace to the specified print writer

Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream ps)
Prints the exception trace to the specified print stream.

Overrides:
printStackTrace in class Throwable