Class InvalidNameException

    • Constructor Detail

      • InvalidNameException

        public InvalidNameException​(String msg,
                                    String name,
                                    int type)
        Constructor
        Parameters:
        msg - exception message
        name - name that is invalid
        type - type of object that had invalid name
      • InvalidNameException

        public InvalidNameException​(String rbName,
                                    String errCode,
                                    Object[] args,
                                    String name,
                                    int type)
        Constructor
        Parameters:
        rbName - Resource bundle name of exception message
        errCode - id used with resource bundle to get error message
        args - any arguments for message formatting. null if no additional arguments are necessary
        name - name that is invalid
        type - type of object that had invalid name
      • InvalidNameException

        public InvalidNameException​(String rbName,
                                    String errCode,
                                    Object[] args,
                                    Throwable t,
                                    String name,
                                    int type)
        Constructor
        Parameters:
        rbName - Resource bundle name of exception message
        errCode - id used with resource bundle to get error message
        args - any arguments for message formatting. null if no additional arguments are necessary
        t - nested root cause exception
        name - name that is invalid
        type - type of object that had invalid name
      • InvalidNameException

        public InvalidNameException​(Throwable t,
                                    String name,
                                    int type)
        Constructor
        Parameters:
        t - nested root cause exception
        name - name that is invalid
        type - type of object that had invalid name
    • Method Detail

      • getName

        public String getName()
        Gets the name that is invalid
        Returns:
        name that is invalid
      • getObjectType

        public int getObjectType()
        Gets the type of object which encountered the invalid name. The defined objects are POLICY, RULE, ORGANIZATION, USER_COLLECTION RESPONSE_PROVIDER_COLLECTION CONDITION_COLLECTION REFERRAL_COLLECTION REFERRAL_TYPE SUBJECT_TYPE and SERVICE
        Returns:
        type of object that had invalid name