org.openid4java
Class OpenIDException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openid4java.OpenIDException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AssociationException, ConsumerException, DiscoveryException, InfocardException, MessageException, ServerException

public class OpenIDException
extends java.lang.Exception

Author:
Marius Scurtescu, Johnny Bufu
See Also:
Serialized Form

Field Summary
private  int _errorCode
           
static int ASSOC_ERROR
           
static int AUTH_ERROR
           
static int AUTH_REALM_ERROR
           
static int AX_ERROR
           
static int CONSUMER_ERROR
           
static int DISCOVERY_ERROR
           
static int DISCOVERY_HTML_ERROR
           
static int DISCOVERY_HTML_GET_ERROR
           
static int DISCOVERY_HTML_NODATA_ERROR
           
static int DISCOVERY_HTML_PARSE_ERROR
           
static int EXTENSION_ERROR
           
static int INFOCARD_ERROR
           
static int MESSAGE_ERROR
           
static int OPENID_ERROR
           
static int PAPE_ERROR
           
static int SERVER_ERROR
           
static int SREG_ERROR
           
static int VERIFY_ERROR
           
static int XRDS_DOWNLOAD_ERROR
           
static int XRDS_PARSING_ERROR
           
static int XRI_ERROR
           
static int YADIS_ERROR
           
static int YADIS_GET_ERROR
           
static int YADIS_GET_INVALID_RESPONSE
           
static int YADIS_GET_NO_XRDS
           
static int YADIS_GET_TRANSPORT_ERROR
           
static int YADIS_HEAD_INVALID_RESPONSE
           
static int YADIS_HEAD_TRANSPORT_ERROR
           
static int YADIS_HTMLMETA_DOWNLOAD_ERROR
           
static int YADIS_HTMLMETA_INVALID_RESPONSE
           
static int YADIS_INVALID_SCHEME
           
static int YADIS_INVALID_URL
           
static int YADIS_XRDS_SIZE_EXCEEDED
           
 
Constructor Summary
OpenIDException(int code, java.lang.Throwable cause)
           
OpenIDException(java.lang.String message)
           
OpenIDException(java.lang.String message, int code)
           
OpenIDException(java.lang.String message, int code, java.lang.Throwable cause)
           
OpenIDException(java.lang.String message, java.lang.Throwable cause)
           
OpenIDException(java.lang.Throwable cause)
           
 
Method Summary
 int getErrorCode()
           
 java.lang.String getMessage()
           
 void setErrorCode(int errorCode)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_errorCode

private int _errorCode

OPENID_ERROR

public static final int OPENID_ERROR
See Also:
Constant Field Values

MESSAGE_ERROR

public static final int MESSAGE_ERROR
See Also:
Constant Field Values

ASSOC_ERROR

public static final int ASSOC_ERROR
See Also:
Constant Field Values

AUTH_ERROR

public static final int AUTH_ERROR
See Also:
Constant Field Values

AUTH_REALM_ERROR

public static final int AUTH_REALM_ERROR
See Also:
Constant Field Values

VERIFY_ERROR

public static final int VERIFY_ERROR
See Also:
Constant Field Values

DISCOVERY_ERROR

public static final int DISCOVERY_ERROR
See Also:
Constant Field Values

DISCOVERY_HTML_ERROR

public static final int DISCOVERY_HTML_ERROR
See Also:
Constant Field Values

DISCOVERY_HTML_GET_ERROR

public static final int DISCOVERY_HTML_GET_ERROR
See Also:
Constant Field Values

DISCOVERY_HTML_NODATA_ERROR

public static final int DISCOVERY_HTML_NODATA_ERROR
See Also:
Constant Field Values

DISCOVERY_HTML_PARSE_ERROR

public static final int DISCOVERY_HTML_PARSE_ERROR
See Also:
Constant Field Values

YADIS_ERROR

public static final int YADIS_ERROR
See Also:
Constant Field Values

YADIS_INVALID_URL

public static final int YADIS_INVALID_URL
See Also:
Constant Field Values

YADIS_INVALID_SCHEME

public static final int YADIS_INVALID_SCHEME
See Also:
Constant Field Values

YADIS_HEAD_TRANSPORT_ERROR

public static final int YADIS_HEAD_TRANSPORT_ERROR
See Also:
Constant Field Values

YADIS_HEAD_INVALID_RESPONSE

public static final int YADIS_HEAD_INVALID_RESPONSE
See Also:
Constant Field Values

YADIS_GET_ERROR

public static final int YADIS_GET_ERROR
See Also:
Constant Field Values

YADIS_GET_TRANSPORT_ERROR

public static final int YADIS_GET_TRANSPORT_ERROR
See Also:
Constant Field Values

YADIS_GET_INVALID_RESPONSE

public static final int YADIS_GET_INVALID_RESPONSE
See Also:
Constant Field Values

YADIS_GET_NO_XRDS

public static final int YADIS_GET_NO_XRDS
See Also:
Constant Field Values

YADIS_HTMLMETA_DOWNLOAD_ERROR

public static final int YADIS_HTMLMETA_DOWNLOAD_ERROR
See Also:
Constant Field Values

YADIS_HTMLMETA_INVALID_RESPONSE

public static final int YADIS_HTMLMETA_INVALID_RESPONSE
See Also:
Constant Field Values

XRDS_DOWNLOAD_ERROR

public static final int XRDS_DOWNLOAD_ERROR
See Also:
Constant Field Values

XRDS_PARSING_ERROR

public static final int XRDS_PARSING_ERROR
See Also:
Constant Field Values

YADIS_XRDS_SIZE_EXCEEDED

public static final int YADIS_XRDS_SIZE_EXCEEDED
See Also:
Constant Field Values

XRI_ERROR

public static final int XRI_ERROR
See Also:
Constant Field Values

SERVER_ERROR

public static final int SERVER_ERROR
See Also:
Constant Field Values

CONSUMER_ERROR

public static final int CONSUMER_ERROR
See Also:
Constant Field Values

INFOCARD_ERROR

public static final int INFOCARD_ERROR
See Also:
Constant Field Values

EXTENSION_ERROR

public static final int EXTENSION_ERROR
See Also:
Constant Field Values

AX_ERROR

public static final int AX_ERROR
See Also:
Constant Field Values

SREG_ERROR

public static final int SREG_ERROR
See Also:
Constant Field Values

PAPE_ERROR

public static final int PAPE_ERROR
See Also:
Constant Field Values
Constructor Detail

OpenIDException

public OpenIDException(java.lang.String message)

OpenIDException

public OpenIDException(java.lang.String message,
                       int code)

OpenIDException

public OpenIDException(java.lang.String message,
                       java.lang.Throwable cause)

OpenIDException

public OpenIDException(java.lang.String message,
                       int code,
                       java.lang.Throwable cause)

OpenIDException

public OpenIDException(java.lang.Throwable cause)

OpenIDException

public OpenIDException(int code,
                       java.lang.Throwable cause)
Method Detail

getErrorCode

public int getErrorCode()

setErrorCode

public void setErrorCode(int errorCode)

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable


Copyright 2006-2008 Sxip Identity Corporation