Class HttpAuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.nutch.protocol.httpclient.HttpAuthenticationException
- All Implemented Interfaces:
Serializable
Can be used to identify problems during creation of Authentication objects.
In the future it may be used as a method of collecting authentication
failures during Http protocol transfer in order to present the user with
credentials required during a future fetch.
- Author:
- Matt Tencati
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception with null as its detail message.HttpAuthenticationException(String message) Constructs a new exception with the specified detail message.HttpAuthenticationException(String message, Throwable cause) Constructs a new exception with the specified message and cause.Constructs a new exception with the specified cause and detail message from given clause if it is not null. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpAuthenticationException
public HttpAuthenticationException()Constructs a new exception with null as its detail message. -
HttpAuthenticationException
Constructs a new exception with the specified detail message.- Parameters:
message- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()method.
-
HttpAuthenticationException
Constructs a new exception with the specified message and cause.- Parameters:
message- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()method.cause- the cause (useThrowable.getCause()to retrieve the cause)
-
HttpAuthenticationException
Constructs a new exception with the specified cause and detail message from given clause if it is not null.- Parameters:
cause- the cause (useThrowable.getCause()to retrieve the cause)
-