Class RightsManagerException

  • All Implemented Interfaces:
    Serializable

    public class RightsManagerException
    extends PluginException
    Rights Manager plugin base exception.
    Since:
    1.1.2, 1.2M2
    Version:
    $Id: 22e28310020f65d0ca126bb4d92b519b254e631b $
    See Also:
    Serialized Form
    • Constructor Detail

      • RightsManagerException

        public RightsManagerException​(int code,
                                      String message)
        Create an RightsManagerException.
        Parameters:
        code - the error code.
        message - a literal message about this error.
      • RightsManagerException

        public RightsManagerException​(int code,
                                      String message,
                                      Throwable e,
                                      Object[] args)
        Create an RightsManagerException. Replace any parameters found in the message by the passed args parameters. The format is the one used by MessageFormat.
        Parameters:
        code - the error code.
        message - a literal message about this error.
        e - the exception this exception wrap.
        args - the array of parameters to use for replacing "{N}" elements in the string. See MessageFormat for the full syntax
      • RightsManagerException

        public RightsManagerException​(int code,
                                      String message,
                                      Throwable e)
        Create an RightsManagerException.
        Parameters:
        code - the error code.
        message - a literal message about this error.
        e - the exception this exception wrap.
    • Method Detail

      • getDefaultException

        public static RightsManagerException getDefaultException()
        Returns:
        unique instance of the default RightsManagerException.