JADE_SL.onto
Class WrapperException
java.lang.Object
java.lang.Throwable
java.lang.Exception
JADE_SL.onto.WrapperException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Codec.CodecException, OntologyException
- public abstract class WrapperException
- extends java.lang.Exception
This class acts as a base class for all the exceptions that wrap
another (nested) exception. The typical usage for descendents of
this class is to throw them within the catch block for
their nested exception.
- Version:
- $Date: 2003/10/09 13:00:36 $ $Revision: 1.1.1.1 $
- Author:
- Giovanni Rimassa - Universita` di Parma
- See Also:
- Serialized Form
|
Field Summary |
private java.lang.Throwable |
nested
|
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
nested
private java.lang.Throwable nested
WrapperException
protected WrapperException(java.lang.String m,
java.lang.Throwable t)
WrapperException
protected WrapperException(java.lang.String m)
getMessage
public java.lang.String getMessage()
printStackTrace
public void printStackTrace()
getNested
public java.lang.Throwable getNested()
- Reads the exception wrapped by this object.
- Returns:
- the
Throwable object that is the exception
that was originally thrown
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.