# Uses of Class
fr.gouv.vitam.common.error.VitamError

Packages that use VitamError
Package
Description
fr.gouv.vitam.access.external.client.exception
fr.gouv.vitam.common.client
Basic Vitam Client Common interfaces
fr.gouv.vitam.common.dsl.schema
fr.gouv.vitam.common.error
Contains
- services codes and their name
- domains codes and their name
- public Vitam codes
fr.gouv.vitam.common.exception
Common Exception package
fr.gouv.vitam.common.external.client
Contains generic VitamClient and associated basic implementation used as base for every specific client module.
fr.gouv.vitam.common.model
This package contains simple POJOs and DTOs that may be shared commonly by all vitam internal components
fr.gouv.vitam.functional.administration.common
Provides common classes for the Functional Administration module.
fr.gouv.vitam.functional.administration.core.archiveunitprofiles
fr.gouv.vitam.functional.administration.core.profile
fr.gouv.vitam.functional.administration.core.schema
fr.gouv.vitam.functional.administration.utils
fr.gouv.vitam.ingest.external.api.exception
Package Ingest External Exception
fr.gouv.vitam.logbook.administration.audit.exception
fr.gouv.vitam.metadata.api.exception
Provides exception classes used for the Metadata module.
fr.gouv.vitam.storage.engine.server.exception
fr.gouv.vitam.worker.core.plugin.computeinheritedrules.exception
fr.gouv.vitam.worker.core.plugin.evidence.exception

- ## Uses of VitamError in fr.gouv.vitam.access.external.client.exception

  Methods in fr.gouv.vitam.access.external.client.exception that return VitamError
  Modifier and Type
  Method
  Description
  `<T> VitamError<T>`
  AdminExternalClientException.`getVitamError()`
  Constructors in fr.gouv.vitam.access.external.client.exception with parameters of type VitamError
  Modifier
  Constructor
  Description
  ``
  `AdminExternalClientException(String message, jakarta.ws.rs.core.Response.Status status, VitamError<?> vitamError)`

- ## Uses of VitamError in fr.gouv.vitam.common.client

  Methods in fr.gouv.vitam.common.client that return VitamError
  Modifier and Type
  Method
  Description
  `VitamError`
  AdminClient.`adminAutotest()`
  Check the dependencies and return a VitamError status where getHttpCode contains either 200 for OK or 503 for error and a sub list of VitamErrors for each tested subservices
  `VitamError<com.fasterxml.jackson.databind.JsonNode>`
  DefaultAdminClient.`adminAutotest()`

- ## Uses of VitamError in fr.gouv.vitam.common.dsl.schema

  Constructors in fr.gouv.vitam.common.dsl.schema with parameters of type VitamError
  Modifier
  Constructor
  Description
  ``
  `ValidationException(VitamError vitamError)`

- ## Uses of VitamError in fr.gouv.vitam.common.error

  Methods in fr.gouv.vitam.common.error that return VitamError
  Modifier and Type
  Method
  Description
  `VitamError<T>`
  VitamError.`addAllErrors(List<VitamError<T>> errors)`
  `VitamError<T>`
  VitamError.`addToErrors(VitamError<T> error)`
  `static VitamError<com.fasterxml.jackson.databind.JsonNode>`
  VitamError.`getFromJsonNode(com.fasterxml.jackson.databind.JsonNode node)`
  `static <T> VitamError<T>`
  VitamError.`getFromJsonNode(com.fasterxml.jackson.databind.JsonNode node, Class<T> clasz)`
  `static <T> VitamError<T>`
  VitamError.`newVitamError(Class<T> clasz)`
  `VitamError<T>`
  VitamError.`setCode(String code)`
  `VitamError<T>`
  VitamError.`setContext(String context)`
  `VitamError<T>`
  VitamError.`setDescription(String description)`
  `VitamError<T>`
  VitamError.`setHttpCode(int httpCode)`
  `VitamError<T>`
  VitamError.`setMessage(String message)`
  `VitamError<T>`
  VitamError.`setState(String state)`
  `static VitamError<com.fasterxml.jackson.databind.JsonNode>`
  VitamCodeHelper.`toVitamError(VitamCode vitamCode, String description)`
  Transform a vitamCode to a VitamError with the given description
  `static <T> VitamError<T>`
  VitamCodeHelper.`toVitamError(VitamCode vitamCode, String description, Class<T> clasz)`
  Transform a vitamCode to a VitamError with the given description
  Methods in fr.gouv.vitam.common.error that return types with arguments of type VitamError
  Modifier and Type
  Method
  Description
  `List<VitamError<T>>`
  VitamError.`getErrors()`
  Methods in fr.gouv.vitam.common.error with parameters of type VitamError
  Modifier and Type
  Method
  Description
  `VitamError<T>`
  VitamError.`addToErrors(VitamError<T> error)`
  Method parameters in fr.gouv.vitam.common.error with type arguments of type VitamError
  Modifier and Type
  Method
  Description
  `VitamError<T>`
  VitamError.`addAllErrors(List<VitamError<T>> errors)`

- ## Uses of VitamError in fr.gouv.vitam.common.exception

  Methods in fr.gouv.vitam.common.exception that return VitamError
  Modifier and Type
  Method
  Description
  `<T> VitamError<T>`
  VitamException.`getVitamError()`
  Methods in fr.gouv.vitam.common.exception with parameters of type VitamError
  Modifier and Type
  Method
  Description
  `void`
  VitamException.`setVitamError(VitamError<?> vitamError)`
  Constructors in fr.gouv.vitam.common.exception with parameters of type VitamError
  Modifier
  Constructor
  Description
  ``
  `ExpectationFailedClientException(VitamError vitamError)`
  ``
  `ForbiddenClientException(VitamError vitamError)`
  ``
  `PreconditionFailedClientException(VitamError vitamError)`
  ``
  `VitamDBException(VitamError vitamError)`
  constructor.
  ``
  `VitamException(VitamError<?> vitamError)`

- ## Uses of VitamError in fr.gouv.vitam.common.external.client

  Methods in fr.gouv.vitam.common.external.client that return VitamError
  Modifier and Type
  Method
  Description
  `VitamError`
  AdminClient.`adminAutotest()`
  Check the dependencies and return a VitamError status where getHttpCode contains either 200 for OK or 503 for error and a sub list of VitamErrors for each tested subservices
  `VitamError`
  DefaultAdminClient.`adminAutotest()`

- ## Uses of VitamError in fr.gouv.vitam.common.model

  Methods in fr.gouv.vitam.common.model that return VitamError
  Modifier and Type
  Method
  Description
  `VitamError`
  RequestResponseError.`getError()`
  `static VitamError<com.fasterxml.jackson.databind.JsonNode>`
  RequestResponse.`parseVitamError(jakarta.ws.rs.core.Response response)`
  `static <T> VitamError<T>`
  RequestResponse.`parseVitamError(jakarta.ws.rs.core.Response response, Class<T> clasz)`
  Methods in fr.gouv.vitam.common.model with parameters of type VitamError
  Modifier and Type
  Method
  Description
  `RequestResponseError`
  RequestResponseError.`setError(VitamError error)`
  RequestResponseError constructor

- ## Uses of VitamError in fr.gouv.vitam.functional.administration.common

  Methods in fr.gouv.vitam.functional.administration.common that return VitamError
  Modifier and Type
  Method
  Description
  `static VitamError<com.fasterxml.jackson.databind.JsonNode>`
  VitamErrorUtils.`getVitamError(String vitamCode, String description, String collection, StatusCode state)`
  `static <T> VitamError<T>`
  VitamErrorUtils.`getVitamError(String vitamCode, String description, String collection, StatusCode state, Class<T> clasz)`
  `static VitamError<com.fasterxml.jackson.databind.JsonNode>`
  VitamErrorUtils.`getVitamErrorWithMessage(String vitamCode, String description, String collection, StatusCode state, String message)`
  `static <T> VitamError<T>`
  VitamErrorUtils.`getVitamErrorWithMessage(String vitamCode, String description, String collection, StatusCode state, String message, Class<T> clasz)`

- ## Uses of VitamError in fr.gouv.vitam.functional.administration.core.archiveunitprofiles

  Methods in fr.gouv.vitam.functional.administration.core.archiveunitprofiles with parameters of type VitamError
  Modifier and Type
  Method
  Description
  `boolean`
  ArchiveUnitProfileManager.`validateArchiveUnitProfile(ArchiveUnitProfileModel profile, VitamError error)`

- ## Uses of VitamError in fr.gouv.vitam.functional.administration.core.profile

  Methods in fr.gouv.vitam.functional.administration.core.profile with parameters of type VitamError
  Modifier and Type
  Method
  Description
  `boolean`
  ProfileManager.`validateProfile(ProfileModel profile, VitamError error)`
  `boolean`
  ProfileManager.`validateProfileFile(ProfileModel profileModel, File file, VitamError error)`
  Validate if the profile file is valide XSD => is file xsd is xml valide RNG => if file rng is xml valide, rng valide, check default values if already exists in vitam
  `boolean`
  ProfileManager.`validateRNG(File file, VitamError error)`
  TODO 1.
  `boolean`
  ProfileManager.`validateXSD(File file, VitamError error)`
  Just check if inputStream is xml valid

- ## Uses of VitamError in fr.gouv.vitam.functional.administration.core.schema

  Methods in fr.gouv.vitam.functional.administration.core.schema that return VitamError
  Modifier and Type
  Method
  Description
  `static VitamError`
  SchemaCommonService.`getVitamError(String vitamCode, String error, StatusCode statusCode)`

- ## Uses of VitamError in fr.gouv.vitam.functional.administration.utils

  Methods in fr.gouv.vitam.functional.administration.utils that return VitamError
  Modifier and Type
  Method
  Description
  `static VitamError<SchemaResponse>`
  ResponseErrorUtils.`getErrorEntity(jakarta.ws.rs.core.Response.Status status, String message, String context)`
  Construct the error following input

- ## Uses of VitamError in fr.gouv.vitam.ingest.external.api.exception

  Constructors in fr.gouv.vitam.ingest.external.api.exception with parameters of type VitamError
  Modifier
  Constructor
  Description
  ``
  `IngestExternalClientException(VitamError vitamError)`
  ``
  `IngestExternalClientNotFoundException(VitamError vitamError)`
  ``
  `IngestExternalClientServerException(VitamError vitamError)`

- ## Uses of VitamError in fr.gouv.vitam.logbook.administration.audit.exception

  Methods in fr.gouv.vitam.logbook.administration.audit.exception that return VitamError
  Modifier and Type
  Method
  Description
  `VitamError`
  LogbookAuditException.`getVitamError()`
  Methods in fr.gouv.vitam.logbook.administration.audit.exception with parameters of type VitamError
  Modifier and Type
  Method
  Description
  `void`
  LogbookAuditException.`setVitamError(VitamError vitamError)`
  Constructors in fr.gouv.vitam.logbook.administration.audit.exception with parameters of type VitamError
  Modifier
  Constructor
  Description
  ``
  `LogbookAuditException(VitamError vitamError)`

- ## Uses of VitamError in fr.gouv.vitam.metadata.api.exception

  Constructors in fr.gouv.vitam.metadata.api.exception with parameters of type VitamError
  Modifier
  Constructor
  Description
  ``
  `MetaDataException(VitamError vitamError)`
  Constructor
  ``
  `MetaDataExecutionException(VitamError vitamError)`
  Constructor
  ``
  `MetadataScrollLimitExceededException(VitamError<?> vitamError)`
  ``
  `MetadataScrollThresholdExceededException(VitamError<?> vitamError)`

- ## Uses of VitamError in fr.gouv.vitam.storage.engine.server.exception

  Constructors in fr.gouv.vitam.storage.engine.server.exception with parameters of type VitamError
  Modifier
  Constructor
  Description
  ``
  `VitamSyncException(VitamError vitamError)`

- ## Uses of VitamError in fr.gouv.vitam.worker.core.plugin.computeinheritedrules.exception

  Constructors in fr.gouv.vitam.worker.core.plugin.computeinheritedrules.exception with parameters of type VitamError
  Modifier
  Constructor
  Description
  ``
  `ComputedInheritedRulesException(VitamError vitamError, StatusCode statusCode)`

- ## Uses of VitamError in fr.gouv.vitam.worker.core.plugin.evidence.exception

  Constructors in fr.gouv.vitam.worker.core.plugin.evidence.exception with parameters of type VitamError
  Modifier
  Constructor
  Description
  ``
  `DataRectificationException(VitamError vitamError)`