EdmUserException
edm.edom3.exception
Class EdmUserException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- edm.edom3.exception.EdmiException
- edm.edom3.exception.EdmUserException
All Implemented Interfaces:java.io.Serializable
public class EdmUserException extends EdmiException
User access control exceptionSee Also:Serialized Form
Field Summary
FieldsÂ
Modifier and Type Field and Description static int
ACCESS_DO_NOT_EXISTS
Access item does not existstatic int
ACCESS_EXISTS
Item already existsstatic int
ACCESS_NOT_EXISTS
Access item does not existstatic int
ENTITY_EXISTS
Entity Exists alreadystatic int
ENTITY_NOT_EXISTS
Entity does not existstatic int
ENVIRONMENT_VARIABLE_EXISTS
Environment variable does already existstatic int
ENVIRONMENT_VARIABLE_FAILURE
Environment variable access failedstatic int
ENVIRONMENT_VARIABLE_NAME_EMPTY
Mo value in environment variablestatic int
ENVIRONMENT_VARIABLE_NOT_FOUND
Environment variable not foundstatic int
ILEGAL_NAME
Illegal name syntaxstatic int
NEW_OWNER_MISSING
The specified owner was not foundstatic int
NOT_IMPLEMENTED
//TODOstatic int
OBJECT_NOT_INITIALIZED
Object is not initializedstatic int
USER_ACCESS_DENIED
User access deniedstatic int
USER_GROUP_EXISTS
The group does already existstatic int
USER_GROUP_NOT_EXISTS
The group does not exiswtstatic int
USER_LOGGED_ON
User is already logged instatic int
USER_MANAGEMENT_INITIALISION_FAILURE
User manager failed to initializestatic int
USER_MANAGER_INITIALIZED
User manager already initializedstatic int
USER_MANAGER_MODEL_DO_NOT_EXISTS
User manager model existsstatic int
USER_MANAGER_MODEL_EXISTS
User manager model already existsstatic int
USER_MANAGER_NOT_INITIALIZED
User manager has not been initializedstatic int
USER_NOT_LOGGED_ON
User is not logged instatic int
USER_OK
No errorstatic int
USER_SDAI_ERROR
//TODOstatic int
USER_SYSTEM
//TODOstatic int
USER_USER_EXISTS
User already existsstatic int
USER_USER_NOT_EXISTS
User do not existstatic int
USER_USER_OR_GROUP_ALREADY_MEMBER
User/group already memeber in groupstatic int
USER_USER_OR_GROUP_NOT_EXISTS
User or group does not existstatic int
USER_USER_OR_GROUP_NOT_MEMBER
User/group not member in groupstatic int
USER_WRONG_PASSWORD
Wrong password suppliedFields inherited from class edm.edom3.exception.EdmiException
m_edmiError, m_edmiErrorMessage, m_location, m_message
Constructor Summary
ConstructorsÂ
Constructor and Description EdmUserException(int code)
Create a new EdmUserExceptionEdmUserException(int code, java.lang.String m1)
Create new user exceptionEdmUserException(int code, java.lang.String m1, java.lang.String m2)
Create a new EdmUserException
Method Summary
All Methods Static Methods Instance Methods Concrete MethodsÂ
Modifier and Type Method and Description int
GetErrorCode()
Get error codejava.lang.String
GetErrorText()
Get error textstatic java.lang.String
GetErrorText(int code)
Get error text out of error codeMethods inherited from class edm.edom3.exception.EdmiException
getErrorCode, getErrorText, getMessage, setContextId, setErrorCode, setErrorCodeMessage, setLocation, setMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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
USER_OK
public static final int USER_OK
No errorSee Also:Constant Field Values
NOT_IMPLEMENTED
public static final int NOT_IMPLEMENTED
//TODOSee Also:Constant Field Values
USER_SDAI_ERROR
public static final int USER_SDAI_ERROR
//TODOSee Also:Constant Field Values
USER_USER_EXISTS
public static final int USER_USER_EXISTS
User already existsSee Also:Constant Field Values
USER_USER_NOT_EXISTS
public static final int USER_USER_NOT_EXISTS
User do not existSee Also:Constant Field Values
USER_GROUP_EXISTS
public static final int USER_GROUP_EXISTS
The group does already existSee Also:Constant Field Values
USER_GROUP_NOT_EXISTS
public static final int USER_GROUP_NOT_EXISTS
The group does not exiswtSee Also:Constant Field Values
USER_USER_OR_GROUP_NOT_EXISTS
public static final int USER_USER_OR_GROUP_NOT_EXISTS
User or group does not existSee Also:Constant Field Values
USER_USER_OR_GROUP_NOT_MEMBER
public static final int USER_USER_OR_GROUP_NOT_MEMBER
User/group not member in groupSee Also:Constant Field Values
USER_USER_OR_GROUP_ALREADY_MEMBER
public static final int USER_USER_OR_GROUP_ALREADY_MEMBER
User/group already memeber in groupSee Also:Constant Field Values
USER_SYSTEM
public static final int USER_SYSTEM
//TODOSee Also:Constant Field Values
USER_ACCESS_DENIED
public static final int USER_ACCESS_DENIED
User access deniedSee Also:Constant Field Values
USER_WRONG_PASSWORD
public static final int USER_WRONG_PASSWORD
Wrong password suppliedSee Also:Constant Field Values
ACCESS_EXISTS
public static final int ACCESS_EXISTS
Item already existsSee Also:Constant Field Values
ACCESS_NOT_EXISTS
public static final int ACCESS_NOT_EXISTS
Access item does not existSee Also:Constant Field Values
ENTITY_EXISTS
public static final int ENTITY_EXISTS
Entity Exists alreadySee Also:Constant Field Values
ENTITY_NOT_EXISTS
public static final int ENTITY_NOT_EXISTS
Entity does not existSee Also:Constant Field Values
ILEGAL_NAME
public static final int ILEGAL_NAME
Illegal name syntaxSee Also:Constant Field Values
OBJECT_NOT_INITIALIZED
public static final int OBJECT_NOT_INITIALIZED
Object is not initializedSee Also:Constant Field Values
USER_MANAGEMENT_INITIALISION_FAILURE
public static final int USER_MANAGEMENT_INITIALISION_FAILURE
User manager failed to initializeSee Also:Constant Field Values
ENVIRONMENT_VARIABLE_NAME_EMPTY
public static final int ENVIRONMENT_VARIABLE_NAME_EMPTY
Mo value in environment variableSee Also:Constant Field Values
ENVIRONMENT_VARIABLE_NOT_FOUND
public static final int ENVIRONMENT_VARIABLE_NOT_FOUND
Environment variable not foundSee Also:Constant Field Values
ENVIRONMENT_VARIABLE_EXISTS
public static final int ENVIRONMENT_VARIABLE_EXISTS
Environment variable does already existSee Also:Constant Field Values
ENVIRONMENT_VARIABLE_FAILURE
public static final int ENVIRONMENT_VARIABLE_FAILURE
Environment variable access failedSee Also:Constant Field Values
ACCESS_DO_NOT_EXISTS
public static final int ACCESS_DO_NOT_EXISTS
Access item does not existSee Also:Constant Field Values
USER_MANAGER_NOT_INITIALIZED
public static final int USER_MANAGER_NOT_INITIALIZED
User manager has not been initializedSee Also:Constant Field Values
USER_MANAGER_MODEL_EXISTS
public static final int USER_MANAGER_MODEL_EXISTS
User manager model already existsSee Also:Constant Field Values
USER_MANAGER_INITIALIZED
public static final int USER_MANAGER_INITIALIZED
User manager already initializedSee Also:Constant Field Values
USER_MANAGER_MODEL_DO_NOT_EXISTS
public static final int USER_MANAGER_MODEL_DO_NOT_EXISTS
User manager model existsSee Also:Constant Field Values
USER_NOT_LOGGED_ON
public static final int USER_NOT_LOGGED_ON
User is not logged inSee Also:Constant Field Values
USER_LOGGED_ON
public static final int USER_LOGGED_ON
User is already logged inSee Also:Constant Field Values
NEW_OWNER_MISSING
public static final int NEW_OWNER_MISSING
The specified owner was not foundSee Also:Constant Field Values
Constructor Detail
EdmUserException
public EdmUserException(int code)
Create a new EdmUserExceptionParameters:code - error code
EdmUserException
public EdmUserException(int code, java.lang.String m1)
Create new user exceptionParameters:code - error codem1 - error message
EdmUserException
public EdmUserException(int code, java.lang.String m1, java.lang.String m2)
Create a new EdmUserExceptionParameters:code - error codem1 - error messagem2 - error message 2
Method Detail
GetErrorText
public static java.lang.String GetErrorText(int code)
Get error text out of error codeParameters:code - error numberReturns:error message
GetErrorCode
public int GetErrorCode()
Get error codeReturns:error number
GetErrorText
public java.lang.String GetErrorText()
Get error textReturns:error message