|
|||||||||
| Home >> All >> com >> eireneh >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.eireneh.util
Class EventException

java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.eireneh.util.EventException
- All Implemented Interfaces:
- java.io.Serializable
- public class EventException
- extends java.lang.RuntimeException
EventExceptions are generally used for passing problems through the event system which does not allow checked exceptions through.
So EventException 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: Project B 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, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below. The copyright to this program is held by it's authors. |
- Version:
- D0.I0.T0
| Nested Class Summary |
| Nested classes inherited from class java.lang.Throwable |
|
| Field Summary | |
protected java.lang.Throwable |
ex
An embedded exception |
protected java.lang.Object[] |
params
The array of parameters |
protected static java.util.ResourceBundle |
res
The resource hash |
| Fields inherited from class java.lang.RuntimeException |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
EventException(java.lang.String msg)
All LucidExceptions are constructed with references to resources in an I18N properties file. |
|
EventException(java.lang.String msg,
java.lang.Object[] params)
All LucidExceptions are constructed with references to resources in an I18N properties file. |
|
EventException(java.lang.String msg,
java.lang.Throwable ex)
All LucidExceptions are constructed with references to resources in an I18N properties file. |
|
EventException(java.lang.String msg,
java.lang.Throwable ex,
java.lang.Object[] params)
All LucidExceptions are constructed with references to resources in an I18N properties file. |
|
| Method Summary | |
java.lang.Throwable |
getException()
The nested Exception (is any) |
java.lang.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 |
ex
protected java.lang.Throwable ex
- An embedded exception
params
protected java.lang.Object[] params
- The array of parameters
res
protected static java.util.ResourceBundle res
- The resource hash
| Constructor Detail |
EventException
public EventException(java.lang.String msg)
- All LucidExceptions are constructed with references to resources in
an I18N properties file.
EventException
public EventException(java.lang.String msg, java.lang.Throwable ex)
- All LucidExceptions are constructed with references to resources in
an I18N properties file.
EventException
public EventException(java.lang.String msg, java.lang.Object[] params)
- All LucidExceptions are constructed with references to resources in
an I18N properties file. This version allows us to add parameters
EventException
public EventException(java.lang.String msg, java.lang.Throwable ex, java.lang.Object[] params)
- All LucidExceptions are constructed with references to resources in
an I18N properties file. This version allows us to add parameters
| Method Detail |
getMessage
public java.lang.String getMessage()
- We only unravel the message when we need to to save time
getException
public java.lang.Throwable getException()
- The nested Exception (is any)
|
|||||||||
| Home >> All >> com >> eireneh >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC