Package org.pentaho.platform.api.util
Class PentahoChainedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.pentaho.platform.api.util.PentahoChainedException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuditException
,RepositoryException
,UIException
public class PentahoChainedException extends RuntimeException
This is the base Hitachi Vantara Exception class that handles chained exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PentahoChainedException()
PentahoChainedException(String message)
ConstructorPentahoChainedException(String message, Throwable reas)
ConstructorPentahoChainedException(Throwable reas)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PentahoChainedException
public PentahoChainedException()
-
PentahoChainedException
public PentahoChainedException(String message)
Constructor- Parameters:
message
- The message to be carried by the exception.
-
PentahoChainedException
public PentahoChainedException(String message, Throwable reas)
Constructor- Parameters:
message
- The message.reas
- The root cause of the exception.
-
PentahoChainedException
public PentahoChainedException(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 classThrowable
-
printStackTrace
public void printStackTrace(PrintStream ps)
Prints the exception trace to the specified print stream.- Overrides:
printStackTrace
in classThrowable
-
-