com.github.kristofa.test.http
Class UnexpectedContentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.github.kristofa.test.http.UnexpectedContentException
All Implemented Interfaces:
Serializable

public class UnexpectedContentException
extends Exception

Exception that indicates that an unexpected value for content was submitted.

Author:
kristof
See Also:
ContentMatcher, Serialized Form

Constructor Summary
UnexpectedContentException(String message)
          Create a new exception instance.
UnexpectedContentException(Throwable cause)
          Create a new exception instance.
 
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

UnexpectedContentException

public UnexpectedContentException(String message)
Create a new exception instance.

Parameters:
message - Exception message.

UnexpectedContentException

public UnexpectedContentException(Throwable cause)
Create a new exception instance.

Parameters:
cause - Causing exception.


Copyright © 2014. All Rights Reserved.