Package com.adobe.testing.s3mock.s3
Class S3Exception
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class S3Exception extends RuntimeException
RuntimeException to communicate general S3 errors. These are handled by ControllerConfiguration.S3MockExceptionHandler, mapped to com.adobe.testing.s3mock.s3.dto.ErrorResponse and serialized. API Reference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classS3Exception.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integerstatusprivate final Stringcodeprivate final Stringmessageprivate final Throwablecauseprivate final StringlocalizedMessageprivate final Array<Throwable>suppressedprivate Array<StackTraceElement>stackTracepublic final static S3Exception.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description S3Exception(Integer status, String code, String message)
-
Method Summary
Modifier and Type Method Description final IntegergetStatus()final StringgetCode()StringgetMessage()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-