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:
java.io.Serializable
- Direct Known Subclasses:
AccessUnauthorizedException
,AdminExternalClientException
,IngestInternalClientConflictException
,StorageClientException
,VitamClientInternalException
,WorkerClientException
public class VitamClientException extends VitamException
Generic exception throws by any vitam java client- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VitamClientException(java.lang.String message)
Basic constructor to indicate a simple error message without stacktraceVitamClientException(java.lang.String message, java.lang.Throwable cause)
Constructor used to encapsulate a previously thrown exception but with a custom meaningful messageVitamClientException(java.lang.Throwable cause)
Constructor used to encapsulate a previously thrown exception.
-
Method Summary
-
Methods inherited from class fr.gouv.vitam.common.exception.VitamException
getVitamError, setVitamError
-
-
-
-
Constructor Detail
-
VitamClientException
public VitamClientException(java.lang.String message)
Basic constructor to indicate a simple error message without stacktrace- Parameters:
message
- message to log
-
VitamClientException
public VitamClientException(java.lang.Throwable cause)
Constructor used to encapsulate a previously thrown exception. A generic message is used.- Parameters:
cause
- the originating exception
-
VitamClientException
public VitamClientException(java.lang.String message, java.lang.Throwable cause)
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
-
-