Class ErrorResponse
- java.lang.Object
-
- jetbrains.buildServer.controllers.admin.cleanup.jsons.JSendResponse
-
- jetbrains.buildServer.controllers.admin.cleanup.jsons.ErrorResponse
-
- All Implemented Interfaces:
JsonObject
public final class ErrorResponse extends JSendResponse
- Since:
- 2019.2
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.controllers.admin.cleanup.jsons.JSendResponse
status
-
-
Method Summary
-
-
-
Method Detail
-
getErrorMessage
@NotNull public String getErrorMessage()
-
getException
@Nullable public Exception getException()
-
missingBody
@NotNull public static JSendResponse missingBody()
-
missingParam
@NotNull public static JSendResponse missingParam(@NotNull String paramName)
-
missingParams
@NotNull public static JSendResponse missingParams(@NotNull String... paramNames)
-
missingRuleId
@NotNull public static JSendResponse missingRuleId()
-
missingRule
@NotNull public static JSendResponse missingRule()
-
unsupportedHolder
@NotNull public static JSendResponse unsupportedHolder(@NotNull String wrongHolder)
-
unsupported
@NotNull public static JSendResponse unsupported(@NotNull String key, @NotNull String supportedValues, @NotNull String wrongValue)
-
unknownHolderId
@NotNull public static JSendResponse unknownHolderId(@NotNull String holder, @NotNull String holderId)
-
unknownBuildType
@NotNull public static JSendResponse unknownBuildType(@NotNull String buildTypeId)
-
unknownProject
@NotNull public static JSendResponse unknownProject(@NotNull String projectId)
-
duplicateRuleId
@NotNull public static JSendResponse duplicateRuleId(@NotNull String ruleId, @NotNull String holder, @NotNull String holderId)
-
unknownRuleId
@NotNull public static JSendResponse unknownRuleId(@NotNull String ruleId, @NotNull String holder, @NotNull String holderId)
-
otherError
@NotNull public static JSendResponse otherError(@NotNull String errorMessage)
-
illegalRule
@NotNull public static JSendResponse illegalRule(@NotNull String errorMessage, @NotNull IllegalRuleException exception)
-
noPermissions
@NotNull public static JSendResponse noPermissions(@NotNull Exception exception)
-
otherException
@NotNull public static JSendResponse otherException(@NotNull String errorMessage, @NotNull Exception exception)
-
toString
public String toString()
- Overrides:
toString
in classJSendResponse
-
-