Package | Description |
---|---|
fr.gouv.vitam.common.error |
Contains
- services codes and their name - domains codes and their name - public Vitam codes |
Modifier and Type | Method and Description |
---|---|
static VitamCode |
VitamCodeHelper.getFrom(ServiceName service,
DomainName domain,
String item)
Get VitamCode from Service, Domain and item values
|
static VitamCode |
VitamCodeHelper.getFrom(String code)
Get VitamCode from code
|
static VitamCode |
VitamCode.valueOf(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.
|
Modifier and Type | Method and Description |
---|---|
static List<VitamCode> |
VitamCodeHelper.getFromDomain(DomainName domain)
Get list of VitamCode from a Domain
|
static List<VitamCode> |
VitamCodeHelper.getFromService(ServiceName service)
Get list of VitamCode from a Service
|
Modifier and Type | Method and Description |
---|---|
static String |
VitamCodeHelper.getCode(VitamCode vitamCode)
Get the vitam code
|
static String |
VitamCodeHelper.getLogMessage(VitamCode vitamCode,
Object... params)
Get formatted message for Logger
|
static String |
VitamCodeHelper.getMessageFromVitamCode(VitamCode vitamCode)
Get the message from vitam code
|
static String |
VitamCodeHelper.getParametrizedMessageFromVitamCode(VitamCode vitamCode,
Object... params)
Get parameterized message from code
|
static VitamError |
VitamCodeHelper.toVitamError(VitamCode vitamCode,
String description)
Transform a vitamCode to a VitamError with the given description
|
Copyright © 2018 Vitam. All rights reserved.