Package io.jenkins.blueocean.commons
Class ServiceException.PreconditionRequired
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.jenkins.blueocean.commons.ServiceException
-
- io.jenkins.blueocean.commons.ServiceException.PreconditionRequired
-
- All Implemented Interfaces:
Serializable
,org.kohsuke.stapler.HttpResponse
- Enclosing class:
- ServiceException
public static class ServiceException.PreconditionRequired extends ServiceException
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.jenkins.blueocean.commons.ServiceException
ServiceException.BadRequestException, ServiceException.ConflictException, ServiceException.ForbiddenException, ServiceException.MethodNotAllowedException, ServiceException.NotFoundException, ServiceException.NotImplementedException, ServiceException.PreconditionRequired, ServiceException.TooManyRequestsException, ServiceException.UnauthorizedException, ServiceException.UnexpectedErrorException, ServiceException.UnprocessableEntityException, ServiceException.UnsupportedMediaTypeException
-
-
Field Summary
-
Fields inherited from class io.jenkins.blueocean.commons.ServiceException
BAD_REQUEST, CONFLICT, errorMessage, FORBIDDEN, INTERNAL_SERVER_ERROR, METHOD_NOT_ALLOWED, NOT_FOUND, NOT_IMPLEMENTED, PRECONDITION_REQUIRED, status, TOO_MANY_REQUESTS, UNAUTHORIZED, UNPROCESSABLE_ENTITY, UNSUPPORTED_MEDIA_TYPE
-
-
Constructor Summary
Constructors Constructor Description PreconditionRequired(ErrorMessage errorMessage)
PreconditionRequired(ErrorMessage errorMessage, Throwable throwable)
PreconditionRequired(String message)
PreconditionRequired(String message, Throwable throwable)
-
Method Summary
-
Methods inherited from class io.jenkins.blueocean.commons.ServiceException
generateResponse, toJson
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PreconditionRequired
public PreconditionRequired(String message)
-
PreconditionRequired
public PreconditionRequired(ErrorMessage errorMessage)
-
PreconditionRequired
public PreconditionRequired(ErrorMessage errorMessage, Throwable throwable)
-
-