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:
  • Constructor Details

    • 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 Details

    • getCode

      public int getCode()
      Gets code.
      Returns:
      code the code.