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
This is the base Hitachi Vantara Exception class that handles chained exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPentahoChainedException
(String message) ConstructorPentahoChainedException
(String message, Throwable reas) ConstructorConstructor -
Method Summary
Modifier and TypeMethodDescriptionGets the root cause of the exception.void
Prints the exception trace to the specified print stream.void
Prints the exception trace to the specified print writerMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PentahoChainedException
public PentahoChainedException() -
PentahoChainedException
Constructor- Parameters:
message
- The message to be carried by the exception.
-
PentahoChainedException
Constructor- Parameters:
message
- The message.reas
- The root cause of the exception.
-
PentahoChainedException
Constructor- Parameters:
reas
- The cause of this exception
-
-
Method Details
-
getRootCause
Gets the root cause of the exception. -
printStackTrace
Prints the exception trace to the specified print writer- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
Prints the exception trace to the specified print stream.- Overrides:
printStackTrace
in classThrowable
-