|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.i18n.CauseTrailMessages
public final class CauseTrailMessages
Stores the message information of the causes. The exception whose cause trail this instance is, is not part of the cause trail. This makes it possible to render all messages without need to skip the first one that is usually rendered otherwise.
Constructor Summary | |
---|---|
CauseTrailMessages(Locale locale, Throwable cause) Default constructor. |
|
CauseTrailMessages(Throwable cause) Convenience constructor using the default locale. |
Method Summary | |
---|---|
List<Messages> |
getTrail() Returns the trail of messages to the root. |
String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CauseTrailMessages(Throwable cause)
cause
- the cause to the exception this is the cause trail instance for.
public CauseTrailMessages(Locale locale, Throwable cause)
locale
- the locale for which the message is requested.
cause
- the cause to the exception this is the cause trail instance for.
Method Detail |
---|
public List<Messages> getTrail()
public String toString()
toString
in class
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |