com.sonyericsson.hudson.plugins.gerrit.trigger.api.exception
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
Method Summary |
int |
getCode()
Gets code. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.
getCode
public int getCode()
- Gets code.
- Returns:
- code the code.
Copyright © 2004-2014. All Rights Reserved.