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 |
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)
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.