org.crosswire.common.util
Class LucidRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.crosswire.common.util.LucidRuntimeException
- All Implemented Interfaces:
- Serializable
public class LucidRuntimeException
- extends RuntimeException
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.
- Author:
- Joe Walker
- See Also:
The GNU Lesser General Public License for details.
,
LucidException
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
serialVersionUID
private static final long serialVersionUID
- Serialization ID
- See Also:
- Constant Field Values
LucidRuntimeException
public LucidRuntimeException(String msg)
- All LucidRuntimeException are constructed with references to resources in
an i18n properties file.
- Parameters:
msg
- The resource id to read
LucidRuntimeException
public LucidRuntimeException(String msg,
Throwable cause)
- All LucidRuntimeException are constructed with references to resources in
an i18n properties file.
- Parameters:
msg
- The resource id to readcause
- The cause of the exception