Uses of Class
fr.gouv.vitam.common.error.VitamCode
-
Packages that use VitamCode Package Description fr.gouv.vitam.access.internal.common.exception Provides exception classes used for the Access Internal module.fr.gouv.vitam.common.error Contains
- services codes and their name
- domains codes and their name
- public Vitam codes -
-
Uses of VitamCode in fr.gouv.vitam.access.internal.common.exception
Constructors in fr.gouv.vitam.access.internal.common.exception with parameters of type VitamCode Constructor Description AccessInternalRuleExecutionException(VitamCode code)
-
Uses of VitamCode in fr.gouv.vitam.common.error
Methods in fr.gouv.vitam.common.error that return VitamCode Modifier and Type Method Description static VitamCode
VitamCodeHelper. getFrom(ServiceName service, DomainName domain, java.lang.String item)
Get VitamCode from Service, Domain and item valuesstatic VitamCode
VitamCodeHelper. getFrom(java.lang.String code)
Get VitamCode from codestatic VitamCode
VitamCode. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VitamCode[]
VitamCode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in fr.gouv.vitam.common.error that return types with arguments of type VitamCode Modifier and Type Method Description static java.util.List<VitamCode>
VitamCodeHelper. getFromDomain(DomainName domain)
Get list of VitamCode from a Domainstatic java.util.List<VitamCode>
VitamCodeHelper. getFromService(ServiceName service)
Get list of VitamCode from a ServiceMethods in fr.gouv.vitam.common.error with parameters of type VitamCode Modifier and Type Method Description static java.lang.String
VitamCodeHelper. getCode(VitamCode vitamCode)
Get the vitam codestatic java.lang.String
VitamCodeHelper. getLogMessage(VitamCode vitamCode, java.lang.Object... params)
Get formatted message for Loggerstatic java.lang.String
VitamCodeHelper. getMessageFromVitamCode(VitamCode vitamCode)
Get the message from vitam codestatic java.lang.String
VitamCodeHelper. getParametrizedMessageFromVitamCode(VitamCode vitamCode, java.lang.Object... params)
Get parameterized message from codestatic VitamError<com.fasterxml.jackson.databind.JsonNode>
VitamCodeHelper. toVitamError(VitamCode vitamCode, java.lang.String description)
Transform a vitamCode to a VitamError with the given descriptionstatic <T> VitamError<T>
VitamCodeHelper. toVitamError(VitamCode vitamCode, java.lang.String description, java.lang.Class<T> clasz)
Transform a vitamCode to a VitamError with the given description
-