Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jreceiver.j2me.common.rec
Class RecException  view RecException download RecException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjreceiver.j2me.common.JRecException
              extended byjreceiver.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 Exception with the given message.


RecException

public RecException(java.lang.String message,
                    java.lang.Throwable rootCause)

This will create an Exception with the given message and wrap another Exception. This is useful when the originating Exception should be held on to.