Package fr.gouv.vitam.common.exception
Class VitamClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fr.gouv.vitam.common.exception.VitamException
fr.gouv.vitam.common.exception.VitamClientException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessUnauthorizedException,AdminExternalClientException,CollectExternalClientException,CollectExternalClientInvalidRequestException,IngestInternalClientConflictException,StorageClientException,VitamClientAccessUnavailableDataFromAsyncOfferException,VitamClientIllegalAccessRequestOperationOnSyncOfferException,VitamClientInternalException,WorkerClientException
Generic exception throws by any vitam java client
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVitamClientException(String message) Basic constructor to indicate a simple error message without stacktraceVitamClientException(String message, Throwable cause) Constructor used to encapsulate a previously thrown exception but with a custom meaningful messageVitamClientException(Throwable cause) Constructor used to encapsulate a previously thrown exception. -
Method Summary
Methods inherited from class fr.gouv.vitam.common.exception.VitamException
getVitamError, setVitamErrorMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VitamClientException
Basic constructor to indicate a simple error message without stacktrace- Parameters:
message- message to log
-
VitamClientException
Constructor used to encapsulate a previously thrown exception. A generic message is used.- Parameters:
cause- the originating exception
-
VitamClientException
Constructor used to encapsulate a previously thrown exception but with a custom meaningful message- Parameters:
message- the message to log throw threwcause- the originating exception
-