jetbrains.buildServer.controllers
Class ActionErrors.Error

java.lang.Object
  extended by jetbrains.buildServer.controllers.ActionErrors.Error
Enclosing class:
ActionErrors

public static class ActionErrors.Error
extends java.lang.Object

Represents an error


Constructor Summary
ActionErrors.Error(java.lang.String id, java.lang.String message)
          Constructs an error from the specified id and message
 
Method Summary
 java.lang.String getId()
          Returns error id
 java.lang.String getMessage()
          Returns error message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionErrors.Error

public ActionErrors.Error(@NotNull
                          java.lang.String id,
                          @Nullable
                          java.lang.String message)
Constructs an error from the specified id and message

Parameters:
id - error id
message - error message
Method Detail

getId

@NotNull
public java.lang.String getId()
Returns error id

Returns:
error id

getMessage

@NotNull
public java.lang.String getMessage()
Returns error message

Returns:
error message