A typical example is when an application knows that a specific error condition cannot occur because the preconditions required for a successful completion of a method call are met, but an exception is thrown nevertheless. In this case, the exception can be caught and wrapped into an exception of this class in order to pass on the original cause of the exception to code further up the calling stack. @author Volker Roth @version "$Id: InconsistentStateException.java,v 1.3 2005/04/06 09:33:26flautens Exp $"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|