com.github.kristofa.test.http.client
Class HttpRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.github.kristofa.test.http.client.HttpRequestException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GetException, PostException, PutException

public class HttpRequestException
extends Exception

Exception that indicates that HttpRequest failed.

Author:
kristof
See Also:
Serialized Form

Constructor Summary
HttpRequestException(String message)
          Creates a new instance.
HttpRequestException(Throwable throwable)
          Creates a new 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

HttpRequestException

public HttpRequestException(Throwable throwable)
Creates a new instance.

Parameters:
throwable - Causing exception.

HttpRequestException

public HttpRequestException(String message)
Creates a new instance.

Parameters:
message - Exception message.


Copyright © 2014. All Rights Reserved.