@MessageBundle(projectCode="PLJSON")
public interface JsonMessages
MessageBundle
from JBoss LoggingModifier and Type | Field and Description |
---|---|
static JsonMessages |
MESSAGES |
Modifier and Type | Method and Description |
---|---|
JsonException |
couldNotCreateToken(Class<?> type,
Throwable t) |
JsonException |
cryptoCouldNotParseKey(String json,
Throwable t) |
JsonException |
cryptoInvalidSignature(String json) |
JsonException |
cryptoNoSuchAlgorithm(String name,
Throwable throwable) |
JsonException |
cryptoSignatureFailed(Algorithm algorithm,
Throwable throwable) |
JsonException |
cryptoSignatureNotPresent(String json) |
JsonException |
cryptoSignatureValidationFailed(Algorithm algorithm,
Throwable throwable) |
JsonException |
cryptoUnsupportedKey(String keyType) |
JsonException |
failEncodeToken(Throwable throwable) |
JsonException |
invalidFormat(String json) |
JsonException |
invalidNullArgument(String argName) |
JsonException |
missingHeader(String header) |
static final JsonMessages MESSAGES
@Message(id=1, value="The argument %s cannot be null") JsonException invalidNullArgument(String argName)
@Message(id=2, value="Could not encode token.") JsonException failEncodeToken(@Cause Throwable throwable)
@Message(id=3, value="The given string does not represent a valid JWT token [%s].") JsonException invalidFormat(String json)
@Message(id=4, value="Missing header [%s].") JsonException missingHeader(String header)
@Message(id=20, value="No such algorithm [%s].") JsonException cryptoNoSuchAlgorithm(String name, @Cause Throwable throwable)
@Message(id=21, value="Could not verify signature using algorithm [%s].") JsonException cryptoSignatureValidationFailed(Algorithm algorithm, @Cause Throwable throwable)
@Message(id=22, value="Could not create signature using algorithm [%s].") JsonException cryptoSignatureFailed(Algorithm algorithm, @Cause Throwable throwable)
@Message(id=23, value="Error creating token instance from type [%s].") JsonException couldNotCreateToken(Class<?> type, @Cause Throwable t)
@Message(id=24, value="Invalid signature for JSON [%s].") JsonException cryptoInvalidSignature(String json)
@Message(id=25, value="Signature not present: [%s].") JsonException cryptoSignatureNotPresent(String json)
@Message(id=26, value="Could not parse key: [%s].") JsonException cryptoCouldNotParseKey(String json, @Cause Throwable t)
@Message(id=28, value="Unsupported key type: [%s].") JsonException cryptoUnsupportedKey(String keyType)
Copyright © 2016. All rights reserved.