Class ThrottleComponentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.wso2.carbon.mediation.throttle.ThrottleComponentException
- All Implemented Interfaces:
Serializable
Exception class which is used to throw Throttle component specific
exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionThrottleComponentException(String errorCode) ThrottleComponentException(String errorCode, Object[] args) ThrottleComponentException(String errorCode, Object[] args, Throwable e) ThrottleComponentException(String errorCode, Throwable e) -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringgetMessage(String errorCode, Object[] args) get the message from resource bundle.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ThrottleComponentException
-
ThrottleComponentException
-
ThrottleComponentException
-
ThrottleComponentException
-
-
Method Details
-
getMessage
get the message from resource bundle.- Returns:
- the message translated from the property (message) file.
-