CookieRestrictionViolationException (Apache HttpClient 4.5.13 API)
Date: 2020-10-03

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

    public class CookieRestrictionViolationException

extends MalformedCookieException

Signals that a cookie violates a restriction imposed by the cookie specification.

Since:
  4.1
See Also:
  Serialized Form

Constructor Summary
`CookieRestrictionViolationException()` Creates a new CookeFormatViolationException with a `null` detail message.
`CookieRestrictionViolationException(String message)` Creates a new CookeRestrictionViolationException with a specified message string.

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

### CookieRestrictionViolationException

    public CookieRestrictionViolationException()

  Creates a new CookeFormatViolationException with a `null` detail message.

### CookieRestrictionViolationException

    public CookieRestrictionViolationException(String message)

  Creates a new CookeRestrictionViolationException with a specified message string.

  Parameters:
    `message` - The exception detail message

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999–2020 The Apache Software Foundation. All rights reserved.