public class RecordsManagementBenchmarkException extends Exception
| Constructor and Description |
|---|
RecordsManagementBenchmarkException()
Default constructor for de-/serialization only.
|
RecordsManagementBenchmarkException(String message)
Constructs a new exception with the specified detail message and cause.
|
RecordsManagementBenchmarkException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
RecordsManagementBenchmarkException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
Constructs a new exception with the specified detail message, cause, suppression enabled or disabled, and
writable stack trace enabled or disabled.
|
RecordsManagementBenchmarkException(Throwable cause)
Constructs a new exception with the specified cause.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
throwNewObjectNotFoundException(String objectIdentifier)
Validates object identifier and throws a records management exception with an object not found message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RecordsManagementBenchmarkException()
public RecordsManagementBenchmarkException(String message)
message - (String) the detail message.public RecordsManagementBenchmarkException(Throwable cause)
cause - (Throwable, optional) the cause.public RecordsManagementBenchmarkException(String message, Throwable cause)
message - (String) the detail message.cause - (Throwable, optional) the cause.public RecordsManagementBenchmarkException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
message - (String) the detail message.cause - (Throwable, optional) the cause.enableSuppression - (boolean) indicates whether or not suppression is enabled or disabledwritableStackTrace - (boolean) indicates whether or not the stack trace should be writablepublic static void throwNewObjectNotFoundException(String objectIdentifier) throws RecordsManagementBenchmarkException
objectIdentifier - (String, will be validated) object name or identifierRecordsManagementBenchmarkExceptionCopyright © 2016. All rights reserved.