edu.jhu.cs.cisst.algorithms.optimize.fmg.util
Class PreconditionNotMetException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.jhu.cs.cisst.algorithms.optimize.fmg.util.PreconditionNotMetException
All Implemented Interfaces:
java.io.Serializable

public class PreconditionNotMetException
extends java.lang.RuntimeException

Exception class that is thrown if a precondition of a method is not met. Since this class is a subclass of RuntimeException it is not enforced by the compiler to catch objects of this class.

Author:
Gerald Loeffler (Gerald.Loeffler@univie.ac.at)
See Also:
Serialized Form

Constructor Summary
PreconditionNotMetException()
          construct with no particular message.
PreconditionNotMetException(java.lang.String msg)
          construct with the given message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

PreconditionNotMetException

public PreconditionNotMetException()
construct with no particular message.


PreconditionNotMetException

public PreconditionNotMetException(java.lang.String msg)
construct with the given message.

Parameters:
msg - the message