
@MessageBundle(projectCode="COM",
length=5)
public interface CommonMessages
| Modifier and Type | Field and Description |
|---|---|
static CommonMessages |
msg |
static final CommonMessages msg
@Message(id=0,
value="Parameter \'%s\' may not be null")
IllegalArgumentException nullParam(String paramName)
@Message(id=1,
value="Parameter \'%s\' must not be less than %d")
IllegalArgumentException paramLessThan(String name,
long min)
@Message(id=2,
value="Parameter \'%s\' must not be greater than than %d")
IllegalArgumentException paramGreaterThan(String name,
long max)
@Message(id=3,
value="Given offset of %d is greater than array length of %d")
ArrayIndexOutOfBoundsException arrayOffsetGreaterThanLength(int offs,
int arrayLength)
@Message(id=4,
value="Given offset of %d plus length of %d is greater than array length of %d")
ArrayIndexOutOfBoundsException arrayOffsetLengthGreaterThanLength(int offs,
int len,
int arrayLength)
@Message(id=5,
value="Array index %d of parameter \'%s\' may not be null")
IllegalArgumentException nullArrayParam(int index,
String name)
@Message(id=6,
value="Parameter \'%s\' may not be null")
NullPointerException nullParamNPE(String name)
@Message(id=7,
value="Invalid permission action \'%s\'")
IllegalArgumentException invalidPermissionAction(String action)
@Message(id=8,
value="Parameter \'%s\' must not be empty")
IllegalArgumentException emptyParam(String name)
@Message(id=100,
value="Method \"%s\" of class \"%s\" is not implemented")
UnsupportedOperationException unsupported(String methodName,
String className)
@Message(id=200,
value="Privileged action failed")
PrivilegedActionException privilegedActionFailed(@Cause
Exception e)
@Message(id=300,
value="Permission collection is read-only")
SecurityException readOnlyPermissionCollection()
@Message(id=301,
value="Invalid permission type (expected %s, actual value was %s)")
IllegalArgumentException invalidPermissionType(Class<? extends Permission> expectedType,
Class<? extends Permission> actualType)
@Message(id=1000,
value="Internal error: Assertion failure: Unexpectedly null value")
String unexpectedNullValue()
@Message(id=1001,
value="Internal error: Assertion failure: Current thread expected to hold lock for %s")
String expectedLockHold(Object monitor)
@Message(id=1002,
value="Internal error: Assertion failure: Current thread expected to not hold lock for %s")
String expectedLockNotHold(Object monitor)
@Message(id=1003,
value="Internal error: Assertion failure: Expected boolean value to be %s")
String expectedBoolean(boolean expr)
@Message(id=2000,
value="Internal error: Unreachable code has been reached")
IllegalStateException unreachableCode()
@Message(id=2001,
value="Internal error: Impossible switch condition encountered: %s")
IllegalStateException impossibleSwitchCase(Object cond)
Copyright © 2015 JBoss, a division of Red Hat, Inc.