EdmUserException


edm.edom3.exception

Class EdmUserException

  • All Implemented Interfaces:java.io.Serializable



    public class EdmUserException
    extends EdmiException

    User access control exception

    See Also:Serialized Form

    • Field Detail

      • USER_OK

        public static final int USER_OK

        No error

        See Also:Constant Field Values

      • NOT_IMPLEMENTED

        public static final int NOT_IMPLEMENTED

        //TODO

        See Also:Constant Field Values

      • USER_SDAI_ERROR

        public static final int USER_SDAI_ERROR

        //TODO

        See Also:Constant Field Values

      • USER_USER_EXISTS

        public static final int USER_USER_EXISTS

        User already exists

        See Also:Constant Field Values

      • USER_USER_NOT_EXISTS

        public static final int USER_USER_NOT_EXISTS

        User do not exist

        See Also:Constant Field Values

      • USER_GROUP_EXISTS

        public static final int USER_GROUP_EXISTS

        The group does already exist

        See Also:Constant Field Values

      • USER_GROUP_NOT_EXISTS

        public static final int USER_GROUP_NOT_EXISTS

        The group does not exiswt

        See 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 exist

        See 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 group

        See 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 group

        See Also:Constant Field Values

      • USER_SYSTEM

        public static final int USER_SYSTEM

        //TODO

        See Also:Constant Field Values

      • USER_ACCESS_DENIED

        public static final int USER_ACCESS_DENIED

        User access denied

        See Also:Constant Field Values

      • USER_WRONG_PASSWORD

        public static final int USER_WRONG_PASSWORD

        Wrong password supplied

        See Also:Constant Field Values

      • ACCESS_EXISTS

        public static final int ACCESS_EXISTS

        Item already exists

        See Also:Constant Field Values

      • ACCESS_NOT_EXISTS

        public static final int ACCESS_NOT_EXISTS

        Access item does not exist

        See Also:Constant Field Values

      • ENTITY_EXISTS

        public static final int ENTITY_EXISTS

        Entity Exists already

        See Also:Constant Field Values

      • ENTITY_NOT_EXISTS

        public static final int ENTITY_NOT_EXISTS

        Entity does not exist

        See Also:Constant Field Values

      • ILEGAL_NAME

        public static final int ILEGAL_NAME

        Illegal name syntax

        See Also:Constant Field Values

      • OBJECT_NOT_INITIALIZED

        public static final int OBJECT_NOT_INITIALIZED

        Object is not initialized

        See Also:Constant Field Values

      • USER_MANAGEMENT_INITIALISION_FAILURE

        public static final int USER_MANAGEMENT_INITIALISION_FAILURE

        User manager failed to initialize

        See Also:Constant Field Values

      • ENVIRONMENT_VARIABLE_NAME_EMPTY

        public static final int ENVIRONMENT_VARIABLE_NAME_EMPTY

        Mo value in environment variable

        See Also:Constant Field Values

      • ENVIRONMENT_VARIABLE_NOT_FOUND

        public static final int ENVIRONMENT_VARIABLE_NOT_FOUND

        Environment variable not found

        See Also:Constant Field Values

      • ENVIRONMENT_VARIABLE_EXISTS

        public static final int ENVIRONMENT_VARIABLE_EXISTS

        Environment variable does already exist

        See Also:Constant Field Values

      • ENVIRONMENT_VARIABLE_FAILURE

        public static final int ENVIRONMENT_VARIABLE_FAILURE

        Environment variable access failed

        See Also:Constant Field Values

      • ACCESS_DO_NOT_EXISTS

        public static final int ACCESS_DO_NOT_EXISTS

        Access item does not exist

        See Also:Constant Field Values

      • USER_MANAGER_NOT_INITIALIZED

        public static final int USER_MANAGER_NOT_INITIALIZED

        User manager has not been initialized

        See Also:Constant Field Values

      • USER_MANAGER_MODEL_EXISTS

        public static final int USER_MANAGER_MODEL_EXISTS

        User manager model already exists

        See Also:Constant Field Values

      • USER_MANAGER_INITIALIZED

        public static final int USER_MANAGER_INITIALIZED

        User manager already initialized

        See Also:Constant Field Values

      • USER_MANAGER_MODEL_DO_NOT_EXISTS

        public static final int USER_MANAGER_MODEL_DO_NOT_EXISTS

        User manager model exists

        See Also:Constant Field Values

      • USER_NOT_LOGGED_ON

        public static final int USER_NOT_LOGGED_ON

        User is not logged in

        See Also:Constant Field Values

      • USER_LOGGED_ON

        public static final int USER_LOGGED_ON

        User is already logged in

        See Also:Constant Field Values

      • NEW_OWNER_MISSING

        public static final int NEW_OWNER_MISSING

        The specified owner was not found

        See Also:Constant Field Values

    • Constructor Detail

      • EdmUserException

        public EdmUserException(int code)

        Create a new EdmUserException

        Parameters:code - error code

      • EdmUserException

        public EdmUserException(int code,
                                java.lang.String m1)

        Create new user exception

        Parameters:code - error codem1 - error message

      • EdmUserException

        public EdmUserException(int code,
                                java.lang.String m1,
                                java.lang.String m2)

        Create a new EdmUserException

        Parameters: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 code

        Parameters:code - error numberReturns:error message

      • GetErrorCode

        public int GetErrorCode()

        Get error code

        Returns:error number

      • GetErrorText

        public java.lang.String GetErrorText()

        Get error text

        Returns:error message