public abstract class AbstractTestAssertionError extends AssertionError
Constructor and Description |
---|
AbstractTestAssertionError(Object type,
String messageKey,
String testName,
Object[] parameters,
Throwable cause)
Basic constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedMessage() |
String |
getMessage() |
org.dejava.component.i18n.message.handler.MessageCommand |
getMessageCommand()
Gets the message command for the localized error.
|
void |
setMessageCommand(org.dejava.component.i18n.message.handler.MessageCommand messageCommand)
Sets the message command for the localized error.
|
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AbstractTestAssertionError(Object type, String messageKey, String testName, Object[] parameters, Throwable cause)
type
- The type for the message.messageKey
- Message key that describes the exception.testName
- The test name.parameters
- Parameters for the exception (and message).cause
- Error cause.public org.dejava.component.i18n.message.handler.MessageCommand getMessageCommand()
public void setMessageCommand(org.dejava.component.i18n.message.handler.MessageCommand messageCommand)
messageCommand
- New message command for the localized error.public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
Throwable.getLocalizedMessage()
public String getMessage()
getMessage
in class Throwable
Throwable.getMessage()
Copyright © 2012. All Rights Reserved.