jCookie v0.8b

com.sonalb.net.http.cookie
Class MalformedCookieException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--com.sonalb.EnhancedIOException
                          |
                          +--com.sonalb.net.http.cookie.MalformedCookieException
All Implemented Interfaces:
IEnhancedException, Serializable

public class MalformedCookieException
extends EnhancedIOException

Indicates some problem caused by a bad or malformed cookie. For constructor descriptions, see the documentation for superclass.

Author:
Sonal Bansal
See Also:
Serialized Form

Constructor Summary
MalformedCookieException()
           
MalformedCookieException(Exception under)
           
MalformedCookieException(String s)
           
MalformedCookieException(String s, Exception under)
           
MalformedCookieException(String s, Exception under, String code, Object o, String method)
           
MalformedCookieException(String code, Object o, String method)
           
MalformedCookieException(String s, String code, Object o, String method)
           
 
Method Summary
 String getCode()
          Returns the application-specific error code associated with this instance.
 
Methods inherited from class com.sonalb.EnhancedIOException
getCausalException, getDataObject, getOriginClass, getOriginMethod, removeDataObject, setCausalException, setCode, setDataObject, setOriginClass, setOriginMethod, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MalformedCookieException

public MalformedCookieException()

MalformedCookieException

public MalformedCookieException(String s)

MalformedCookieException

public MalformedCookieException(Exception under)

MalformedCookieException

public MalformedCookieException(String s,
                                Exception under)

MalformedCookieException

public MalformedCookieException(String s,
                                Exception under,
                                String code,
                                Object o,
                                String method)

MalformedCookieException

public MalformedCookieException(String code,
                                Object o,
                                String method)

MalformedCookieException

public MalformedCookieException(String s,
                                String code,
                                Object o,
                                String method)
Method Detail

getCode

public String getCode()
Description copied from interface: IEnhancedException
Returns the application-specific error code associated with this instance.
Overrides:
getCode in class EnhancedIOException
Following copied from interface: com.sonalb.IEnhancedException
Returns:
the String representing the error code ; "UNSPECIFIED" if it was not set.

Copyright (c) 2001-2002 Sonal Bansal