com.kii.sdk.photocolle
Class AuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.kii.sdk.photocolle.PhotocolleException
              extended by com.kii.sdk.photocolle.AuthenticationException
All Implemented Interfaces:
Serializable

public class AuthenticationException
extends PhotocolleException

Thrown when authentication is failed.

See Also:
Serialized Form

Nested Class Summary
static class AuthenticationException.Reason
          Error reason returned from server.
 
Method Summary
 Map<String,String> getDetail()
          Detail of error return from server.
 AuthenticationException.Reason getReason()
          Error reason returned from server.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getReason

public AuthenticationException.Reason getReason()
Error reason returned from server.

Returns:
the reason

getDetail

public Map<String,String> getDetail()
Detail of error return from server.

Returns:
the detail