Class ThrottleComponentException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.wso2.carbon.mediation.throttle.ThrottleComponentException
All Implemented Interfaces:
Serializable

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

    • 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 Details

    • getMessage

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