|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.marketcetera.util.except.I18NException
public class I18NException
An internationalized exception.
| Constructor Summary | |
|---|---|
I18NException()
Constructs a new throwable without a message or an underlying cause. |
|
I18NException(I18NBoundMessage message)
Constructs a new throwable with the given message, but without an underlying cause. |
|
I18NException(Throwable cause)
Constructs a new throwable without a message, but with the given underlying cause. |
|
I18NException(Throwable cause,
I18NBoundMessage message)
Constructs a new throwable with the given message and underlying cause. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
String |
getDetail()
Returns the receiver's raw message, possibly combined with the raw message of the receiver's underlying cause. |
I18NBoundMessage |
getI18NBoundMessage()
Returns the receiver's message. |
String |
getLocalizedDetail()
Returns the receiver's localized message, possibly combined with the localized message of the receiver's underlying cause. |
String |
getLocalizedMessage()
Returns the receiver's localized message, as implemented by Throwable.getLocalizedMessage(). |
int |
hashCode()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.marketcetera.util.except.I18NThrowable |
|---|
getCause, getMessage |
| Constructor Detail |
|---|
public I18NException()
public I18NException(Throwable cause)
cause - The cause.public I18NException(I18NBoundMessage message)
message - The message.
public I18NException(Throwable cause,
I18NBoundMessage message)
cause - The cause.message - The message.| Method Detail |
|---|
public String getLocalizedMessage()
I18NThrowableThrowable.getLocalizedMessage().
getLocalizedMessage in interface I18NThrowablegetLocalizedMessage in class Throwablepublic String getDetail()
I18NThrowable
getDetail in interface I18NThrowablepublic String getLocalizedDetail()
I18NThrowable
getLocalizedDetail in interface I18NThrowablepublic I18NBoundMessage getI18NBoundMessage()
I18NThrowable
getI18NBoundMessage in interface I18NThrowablepublic int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||