public class TestException extends Exception
TestException
to reflect internal failures in their
operation.Modifier and Type | Field and Description |
---|---|
protected String |
errorCode
Error code
|
protected Object[] |
errorParams
Parameters for the error message
|
protected Exception |
sourceError
Exception, if any, that caused the error
|
Constructor and Description |
---|
TestException(String errorCode,
Object[] errorParams,
Exception e) |
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode() |
Object[] |
getErrorParams() |
String |
getMessage() |
Exception |
getSourceError() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.