Class GerritTriggerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sonyericsson.hudson.plugins.gerrit.trigger.api.exception.GerritTriggerException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PluginNotFoundException,PluginStatusException
A exception class for Gerrit Trigger API.
- Author:
- rinrinne <rinrin.ne@gmail.com>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGerritTriggerException(int code, String message) Default constractor.GerritTriggerException(String message) Default constractor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GerritTriggerException
Default constractor.- Parameters:
message- the exception message.
-
GerritTriggerException
Default constractor.- Parameters:
code- the code.message- the exception message.
-
-
Method Details
-
getCode
public int getCode()Gets code.- Returns:
- code the code.
-