Class ThrottleComponentException

  • All Implemented Interfaces:
    Serializable

    public class ThrottleComponentException
    extends Exception
    Exception class which is used to throw Throttle component specific exceptions.
    See Also:
    Serialized Form
    • Constructor Detail

      • ThrottleComponentException

        public ThrottleComponentException​(String errorCode,
                                          Object[] args)
      • ThrottleComponentException

        public ThrottleComponentException​(String errorCode)
      • ThrottleComponentException

        public ThrottleComponentException​(String errorCode,
                                          Object[] args,
                                          Throwable e)
      • ThrottleComponentException

        public ThrottleComponentException​(String errorCode,
                                          Throwable e)
    • Method Detail

      • getMessage

        protected static String getMessage​(String errorCode,
                                           Object[] args)
        get the message from resource bundle.
        Returns:
        the message translated from the property (message) file.