|
||||||||||
| 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.
|
Distribution Licence: JSword is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA The copyright to this program is held by it's authors. |
Licence,
LucidException,
Serialized Form| Field 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[] params)
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 read
public LucidRuntimeException(MsgBase msg,
Throwable cause)
msg - The resource id to read
public LucidRuntimeException(MsgBase msg,
Object[] params)
msg - The resource id to readparams - An array of parameters
public LucidRuntimeException(MsgBase msg,
Throwable cause,
Object[] params)
msg - The resource id to readparams - An array of parameters| Method Detail |
|---|
public String getMessage()
getMessage in class Throwable
|
Copyright ? 2003-2004 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||