com.googlecode.jbp.common.requirements
Class PostConditionException

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.PostConditionException
All Implemented Interfaces:
Serializable

public class PostConditionException
extends RequirementsException

Exception thrown if a post-condition is not met.

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

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

PostConditionException

public PostConditionException()
Constructor.


PostConditionException

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

Parameters:
message - The message.

PostConditionException

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

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

PostConditionException

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

Parameters:
cause - The cause throwable.


Copyright © 2011. All Rights Reserved.