Package org.apache.http.cookie
Class CookieRestrictionViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.http.HttpException
org.apache.http.ProtocolException
org.apache.http.cookie.MalformedCookieException
org.apache.http.cookie.CookieRestrictionViolationException
- All Implemented Interfaces:
Serializable
Signals that a cookie violates a restriction imposed by the cookie
specification.
- Since:
- 4.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new CookeFormatViolationException with anull
detail message.Creates a new CookeRestrictionViolationException with a specified message string. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CookieRestrictionViolationException
public CookieRestrictionViolationException()Creates a new CookeFormatViolationException with anull
detail message. -
CookieRestrictionViolationException
Creates a new CookeRestrictionViolationException with a specified message string.- Parameters:
message
- The exception detail message
-