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, java.io.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(java.lang.Exception under)
|
MalformedCookieException(java.lang.String s)
|
MalformedCookieException(java.lang.String s,
java.lang.Exception under)
|
MalformedCookieException(java.lang.String s,
java.lang.Exception under,
java.lang.String code,
java.lang.Object o,
java.lang.String method)
|
MalformedCookieException(java.lang.String code,
java.lang.Object o,
java.lang.String method)
|
MalformedCookieException(java.lang.String s,
java.lang.String code,
java.lang.Object o,
java.lang.String method)
|
Method Summary |
java.lang.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, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MalformedCookieException
public MalformedCookieException()
MalformedCookieException
public MalformedCookieException(java.lang.String s)
MalformedCookieException
public MalformedCookieException(java.lang.Exception under)
MalformedCookieException
public MalformedCookieException(java.lang.String s,
java.lang.Exception under)
MalformedCookieException
public MalformedCookieException(java.lang.String s,
java.lang.Exception under,
java.lang.String code,
java.lang.Object o,
java.lang.String method)
MalformedCookieException
public MalformedCookieException(java.lang.String code,
java.lang.Object o,
java.lang.String method)
MalformedCookieException
public MalformedCookieException(java.lang.String s,
java.lang.String code,
java.lang.Object o,
java.lang.String method)
getCode
public java.lang.String getCode()
- Description copied from interface:
IEnhancedException
- Returns the application-specific error code associated with this instance.
- Specified by:
getCode
in interface IEnhancedException
- Overrides:
getCode
in class EnhancedIOException
- Returns:
- the
String
representing the error code ;
"UNSPECIFIED" if it was not set.