Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

MalformedCookieException

extends ProtocolException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ org.apache.http.HttpException
         ↳ org.apache.http.ProtocolException
           ↳ org.apache.http.cookie.MalformedCookieException

Class Overview

Signals that a cookie is in some way invalid or illegal in a given context

Summary

Public Constructors
MalformedCookieException ()
Creates a new MalformedCookieException with a null detail message.
MalformedCookieException ( String message)
Creates a new MalformedCookieException with a specified message string.
MalformedCookieException ( String message, Throwable cause)
Creates a new MalformedCookieException with the specified detail message and cause.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public MalformedCookieException ()

Added in API level 1

Creates a new MalformedCookieException with a null detail message.

public MalformedCookieException ( String message)

Added in API level 1

Creates a new MalformedCookieException with a specified message string.

Parameters
message The exception detail message

public MalformedCookieException ( String message, Throwable cause)

Added in API level 1

Creates a new MalformedCookieException with the specified detail message and cause.

Parameters
message the exception detail message
cause the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable