Package org.pentaho.platform.api.util
Class PentahoCheckedChainedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.pentaho.platform.api.util.PentahoCheckedChainedException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BackgroundExecutionException,ComponentException,DatasourceMgmtServiceException,DBDatasourceServiceException,DuplicateDatasourceException,NonExistingDatasourceException,ObjectFactoryException,PasswordServiceException,PentahoAccessControlException,PentahoSystemException,PluginLifecycleException,SolutionRepositoryException,SolutionRepositoryServiceException,XmlParseException
public abstract class PentahoCheckedChainedException extends Exception
- Author:
- Steven Barkdull
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PentahoCheckedChainedException()PentahoCheckedChainedException(String message)ConstructorPentahoCheckedChainedException(String message, Throwable reas)ConstructorPentahoCheckedChainedException(Throwable reas)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetRootCause()Gets the root cause of the exception.voidprintStackTrace(PrintStream ps)Prints the exception trace to the specified print stream.voidprintStackTrace(PrintWriter pw)Prints the exception trace to the specified print writer-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
-
-
-
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:
printStackTracein classThrowable
-
printStackTrace
public void printStackTrace(PrintStream ps)
Prints the exception trace to the specified print stream.- Overrides:
printStackTracein classThrowable
-
-