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
public class GerritTriggerException extends Exception
A exception class for Gerrit Trigger API.- Author:
- rinrinne <rinrin.ne@gmail.com>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GerritTriggerException(int code, String message)
Default constractor.GerritTriggerException(String message)
Default constractor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
Gets code.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
GerritTriggerException
public GerritTriggerException(String message)
Default constractor.- Parameters:
message
- the exception message.
-
GerritTriggerException
public GerritTriggerException(int code, String message)
Default constractor.- Parameters:
code
- the code.message
- the exception message.
-
-