org.crosswire.common.util
Class LucidRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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 [joe at eireneh dot com]
See Also:
for license details.
The copyright to this program is held by it's authors.
, LucidException, Serialized Form

Field Summary
private static long serialVersionUID
          Serialization ID
 
Constructor Summary
LucidRuntimeException(String msg)
          All LucidRuntimeException are constructed with references to resources in an i18n properties file.
LucidRuntimeException(String msg, Throwable cause)
          All LucidRuntimeException are constructed with references to resources in an i18n properties file.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

serialVersionUID

private static final long serialVersionUID
Serialization ID

See Also:
Constant Field Values
Constructor Detail

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 read

Copyright ? 2003-2011