|
|||||||||
| Home >> All >> jreceiver >> j2me >> common >> [ rec overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
jreceiver.j2me.common.rec
Class RecException

java.lang.Objectjava.lang.Throwable
java.lang.Exception
jreceiver.j2me.common.JRecException
jreceiver.j2me.common.rec.RecException
- All Implemented Interfaces:
- java.io.Serializable
- public class RecException
- extends jreceiver.j2me.common.JRecException
The base exception class for the JReceiver project.
This is the beginnings of the application of a Java Idiom found at http://c2.com/cgi/wiki?HomogenizeExceptions
See also at http://c2.com/cgi/wiki?NestedExceptions
Create a single type of exception for each package and only propagate exceptions of that type or some sub-type out of methods in the package.
- Version:
- $Revision: 1.2 $ $Date: 2002/12/29 00:44:09 $
| Nested Class Summary |
| Nested classes inherited from class java.lang.Throwable |
|
| Field Summary |
| Fields inherited from class jreceiver.j2me.common.JRecException |
root_cause |
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
RecException(java.lang.String message)
This will create an Exception with the given message. |
|
RecException(java.lang.String message,
java.lang.Throwable rootCause)
This will create an Exception with the given message
and wrap another Exception. |
|
| Methods inherited from class jreceiver.j2me.common.JRecException |
getFullMessage, getRootCause, getRootMessage, printStackTrace |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
RecException
public RecException(java.lang.String message)
This will create an
Exceptionwith the given message.
RecException
public RecException(java.lang.String message, java.lang.Throwable rootCause)
This will create an
Exceptionwith the given message and wrap anotherException. This is useful when the originatingExceptionshould be held on to.
|
|||||||||
| Home >> All >> jreceiver >> j2me >> common >> [ rec overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC