org.oreodata
Class MissingContextException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--org.oreodata.DataException
                          |
                          +--org.oreodata.MissingContextException
All Implemented Interfaces:
java.io.Serializable

public class MissingContextException
extends DataException

An exception that indicates that some context info is missing. This would mean typically that a record that implements the HierarchicalElement interface cannot figure out what its parent or children records are.

Author:
Jonathan Revusky
See Also:
Serialized Form

Constructor Summary
MissingContextException(Record rec, java.lang.Exception e)
           
MissingContextException(Record rec, java.lang.String message)
           
 
Method Summary
static void rethrow(java.lang.Exception e)
           
static void rethrow(Record rec, java.lang.Exception e)
           
 
Methods inherited from class org.oreodata.DataException
getLocale, getLocalizedMessage, getNestedException, getRecord, setLocale, setRecord
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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
 

Constructor Detail

MissingContextException

public MissingContextException(Record rec,
                               java.lang.Exception e)

MissingContextException

public MissingContextException(Record rec,
                               java.lang.String message)
Method Detail

rethrow

public static void rethrow(java.lang.Exception e)
                    throws MissingContextException
MissingContextException

rethrow

public static void rethrow(Record rec,
                           java.lang.Exception e)
                    throws MissingContextException
MissingContextException