com.sonyericsson.hudson.plugins.gerrit.trigger.api.exception
Class GerritTriggerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
GerritTriggerException(int code, String message)
          Default constractor.
GerritTriggerException(String message)
          Default constractor.
 
Method Summary
 int getCode()
          Gets code.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.
Method Detail

getCode

public int getCode()
Gets code.

Returns:
code the code.


Copyright © 2004-2014. All Rights Reserved.