com.googlecode.jbp.common.requirements
Class PreConditionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.googlecode.jbp.common.requirements.RequirementsException
                  extended by com.googlecode.jbp.common.requirements.PreConditionException
All Implemented Interfaces:
Serializable

public class PreConditionException
extends RequirementsException

Exception thrown if a pre-condition is not met.

Author:
Yannick LOTH - yannick AT littlej.biz -
See Also:
Serialized Form

Constructor Summary
PreConditionException()
          Constructor.
PreConditionException(String message)
          Constructor with a message associated to the exception.
PreConditionException(String message, Throwable cause)
          Constructor with a message and a cause associated to the exception
PreConditionException(Throwable cause)
          Constructor with a cause associated to the exception
 
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

PreConditionException

public PreConditionException()
Constructor.


PreConditionException

public PreConditionException(String message)
Constructor with a message associated to the exception.

Parameters:
message - The message.

PreConditionException

public PreConditionException(String message,
                             Throwable cause)
Constructor with a message and a cause associated to the exception

Parameters:
message - the message.
cause - The cause throwable.

PreConditionException

public PreConditionException(Throwable cause)
Constructor with a cause associated to the exception

Parameters:
cause - The cause throwable.


Copyright © 2011. All Rights Reserved.