com.funambol.syncml.spds
Class AuthenticationException

java.lang.Object
  extended by CodedException
      extended by com.funambol.syncml.spds.SyncException
          extended by com.funambol.syncml.spds.AuthenticationException

public class AuthenticationException
extends SyncException

This exception represents the base exception for synchronization related error conditions.


Field Summary
 
Fields inherited from class com.funambol.syncml.spds.SyncException
ACCESS_ERROR, AUTH_ERROR, BACKEND_AUTH_ERROR, BACKEND_ERROR, CANCELLED, CLIENT_ERROR, CONN_NOT_FOUND, CONNECTION_BLOCKED_BY_USER, DATA_NULL, DEVICE_FULL, FORBIDDEN_ERROR, ILLEGAL_ARGUMENT, NOT_FOUND_URI_ERROR, READ_SERVER_RESPONSE_ERROR, SERVER_BUSY, SERVER_CONNECTION_REQUEST_ERROR, SERVER_ERROR, SMART_SLOW_SYNC_UNSUPPORTED, WRITE_SERVER_REQUEST_ERROR
 
Constructor Summary
AuthenticationException(java.lang.String msg, java.lang.String authMethod, java.lang.String nonceFormat, java.lang.String nonce)
          Constructs an instance of AuthenticationException with the specified detail message.
 
Method Summary
 java.lang.String getAuthMethod()
           
 java.lang.String getNextNonce()
           
 java.lang.String getNonceFormat()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationException

public AuthenticationException(java.lang.String msg,
                               java.lang.String authMethod,
                               java.lang.String nonceFormat,
                               java.lang.String nonce)
Constructs an instance of AuthenticationException with the specified detail message.

Parameters:
msg - the detail message.
authMethod - the authentication method requested by the server
nonce - the next nonce provided by the server
Method Detail

getAuthMethod

public java.lang.String getAuthMethod()

getNextNonce

public java.lang.String getNextNonce()

getNonceFormat

public java.lang.String getNonceFormat()


Copyright © 2001-2009 Funambol.