|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.crosswire.common.util.LucidRuntimeException
public class LucidRuntimeException
EventExceptions are generally used for passing problems through the event system which does not allow checked exceptions through.
So LucidRuntimeException is a LucidException in all but inheritance - LucidException inherits from Exception and so is checked, where EventEception inherits from RuntimeException and so is not checked. In general you would create a subclass of LucidException before you used it, however EventExceptions would be used directly.
for license details.
The copyright to this program is held by it's authors.
,
LucidException
,
Serialized FormField Summary | |
---|---|
private static Logger |
log
The log stream |
protected Object[] |
params
The array of parameters |
private static long |
serialVersionUID
Serialization ID |
Constructor Summary | |
---|---|
LucidRuntimeException(MsgBase msg)
All LucidRuntimeException are constructed with references to resources in an i18n properties file. |
|
LucidRuntimeException(MsgBase msg,
Object[] params)
All LucidRuntimeException are constructed with references to resources in an i18n properties file. |
|
LucidRuntimeException(MsgBase msg,
Throwable cause)
All LucidRuntimeException are constructed with references to resources in an i18n properties file. |
|
LucidRuntimeException(MsgBase msg,
Throwable cause,
Object[] newParams)
All LucidRuntimeException are constructed with references to resources in an i18n properties file. |
Method Summary | |
---|---|
String |
getMessage()
We only unravel the message when we need to to save time |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final Logger log
private static final long serialVersionUID
protected final Object[] params
Constructor Detail |
---|
public LucidRuntimeException(MsgBase msg)
msg
- The resource id to readpublic LucidRuntimeException(MsgBase msg, Throwable cause)
msg
- The resource id to readpublic LucidRuntimeException(MsgBase msg, Object[] params)
msg
- The resource id to readparams
- An array of parameterspublic LucidRuntimeException(MsgBase msg, Throwable cause, Object[] newParams)
msg
- The resource id to readnewParams
- An array of parametersMethod Detail |
---|
public String getMessage()
getMessage
in class Throwable
|
Copyright ยจ 2003-2006 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |