|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.core.report.impl.MessageImpl
@Immutable public class MessageImpl
Default message implementation
Constructor Summary | |
---|---|
|
MessageImpl(String message,
Throwable throwable)
Create a new message |
protected |
MessageImpl(String message,
Throwable throwable,
String stackTrace)
Create a new message |
Method Summary | |
---|---|
String |
getFormattedMessage()
Get the formatted message string with additional informations. |
String |
getMessage()
Get the message string |
String |
getStackTrace()
Get the associated stack trace if any |
Throwable |
getThrowable()
Get the associated throwable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageImpl(String message, Throwable throwable)
message
- the message stringthrowable
- the associated throwable, may be null
protected MessageImpl(String message, Throwable throwable, String stackTrace)
message
- the message stringthrowable
- the associated throwable, may be null
stackTrace
- the associated stack trace, or null
Method Detail |
---|
public String getMessage()
Message
getMessage
in interface Message
Message.getMessage()
public String getStackTrace()
Message
getStackTrace
in interface Message
null
Message.getStackTrace()
public Throwable getThrowable()
Message
Message.getStackTrace()
instead if possible.
getThrowable
in interface Message
null
Message.getThrowable()
public String getFormattedMessage()
Message
getFormattedMessage
in interface Message
Message.getFormattedMessage()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |