Class MinioException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bremersee.exception.ServiceException
org.bremersee.minio.MinioException
All Implemented Interfaces:
Serializable, org.bremersee.exception.ErrorCodeAware, org.bremersee.exception.HttpStatusAware

public class MinioException extends org.bremersee.exception.ServiceException implements org.bremersee.exception.HttpStatusAware, org.bremersee.exception.ErrorCodeAware
The minio exception.
Author:
Christian Bremer
See Also:
  • Field Summary

    Fields inherited from class org.bremersee.exception.ServiceException

    ERROR_CODE_ALREADY_EXISTS

    Fields inherited from interface org.bremersee.exception.ErrorCodeAware

    NO_ERROR_CODE_VALUE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    MinioException(int httpStatus, String errorCode, String reason, Throwable cause)
    Instantiates a new minio exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bremersee.exception.ServiceExceptionBuilder<? extends MinioException>
    Creates new exception builder.

    Methods inherited from class org.bremersee.exception.ServiceException

    alreadyExists, alreadyExists, alreadyExists, alreadyExistsWithErrorCode, alreadyExistsWithErrorCode, badRequest, badRequest, badRequest, badRequest, badRequest, canEqual, equals, forbidden, forbidden, forbidden, forbiddenWithErrorCode, forbiddenWithErrorCode, forbiddenWithErrorCode, getErrorCode, hashCode, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, notFound, notFound, notFound, notFoundWithErrorCode, notFoundWithErrorCode, status

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.bremersee.exception.ErrorCodeAware

    getErrorCode

    Methods inherited from interface org.bremersee.exception.HttpStatusAware

    status
  • Constructor Details

    • MinioException

      protected MinioException(int httpStatus, String errorCode, String reason, Throwable cause)
      Instantiates a new minio exception.
      Parameters:
      httpStatus - the http status
      errorCode - the error code
      reason - the reason
      cause - the cause
  • Method Details

    • builder

      public static org.bremersee.exception.ServiceExceptionBuilder<? extends MinioException> builder()
      Creates new exception builder.
      Returns:
      the builder