Package sk.ipesoft.d2000.d2japi
Class LoginFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- sk.ipesoft.d2000.d2japi.LoginFailedException
-
public class LoginFailedException extends java.lang.ExceptionException thrown when Kernel refuses to authenticate user account.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoginFailedException()LoginFailedException(D2JapiErrorCode errorCode, PasswordInformation passwordInformation)LoginFailedException(D2JapiErrorCode errorCode, PasswordInformation passwordInformation, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description D2JapiErrorCodegetErrorCode()Get code of error reported by Kernel.PasswordInformationgetPasswordInformation()Get information about account password ornull.
-
-
-
Constructor Detail
-
LoginFailedException
public LoginFailedException()
-
LoginFailedException
public LoginFailedException(D2JapiErrorCode errorCode, PasswordInformation passwordInformation)
-
LoginFailedException
public LoginFailedException(D2JapiErrorCode errorCode, PasswordInformation passwordInformation, java.lang.String message)
-
-
Method Detail
-
getErrorCode
public D2JapiErrorCode getErrorCode()
Get code of error reported by Kernel.- Returns:
- code of error
-
getPasswordInformation
public PasswordInformation getPasswordInformation()
Get information about account password ornull. Value isnullwhengetErrorCode()returnsD2JapiErrorCode.LOGON_NAME_ERROR- Returns:
- information about account password
-
-