Top Fields Methods
io.smallrye.common.constraint

pack-priv Interface Messages

Known Direct Implementers
io.smallrye.common.constraint.Messages_$bundle
Annotations
@MessageBundle
projectCode:SRCOM
length:5
Static Imports
java.lang.invoke.MethodHandles.lookup

Field Summary

Modifier and TypeField and Description
public static final Messages

Method Summary

Modifier and TypeMethod and Description
public ArrayIndexOutOfBoundsException
arrayOffsetGreaterThanLength(int offs, int arrayLength)

public ArrayIndexOutOfBoundsException
arrayOffsetLengthGreaterThanLength(int offs, int len, int arrayLength)

public IllegalArgumentException
public String
expectedBoolean(boolean expr)

public String
public String
public IllegalStateException
public IllegalArgumentException
nullArrayParam(int index, String name)

public IllegalArgumentException
nullParam(String paramName)

public IllegalArgumentException
paramGreaterThan(String name, long max)

public IllegalArgumentException
paramGreaterThan(String name, double max)

public IllegalArgumentException
public IllegalArgumentException
paramLessThan(String name, long min)

public IllegalArgumentException
paramLessThan(String name, double min)

public IllegalArgumentException
public IllegalArgumentException
public String
public IllegalStateException
public UnsupportedOperationException
unsupported(String methodName, String className)

Field Detail

logback to summary
public static final Messages log

Method Detail

arrayOffsetGreaterThanLengthback to summary
public ArrayIndexOutOfBoundsException arrayOffsetGreaterThanLength(int offs, int arrayLength)
Annotations
@Message:Given offset of %d is greater than array length of %d
id:3
arrayOffsetLengthGreaterThanLengthback to summary
public ArrayIndexOutOfBoundsException arrayOffsetLengthGreaterThanLength(int offs, int len, int arrayLength)
Annotations
@Message:Given offset of %d plus length of %d is greater than array length of %d
id:4
emptyParamback to summary
public IllegalArgumentException emptyParam(String name)
Annotations
@Message:Parameter \'%s\' must not be empty
id:6
expectedBooleanback to summary
public String expectedBoolean(boolean expr)
Annotations
@Message:Internal error: Assertion failure: Expected boolean value to be %s
id:10
expectedLockHoldback to summary
public String expectedLockHold(Object monitor)
Annotations
@Message:Internal error: Assertion failure: Current thread expected to hold lock for %s
id:8
expectedLockNotHoldback to summary
public String expectedLockNotHold(Object monitor)
Annotations
@Message:Internal error: Assertion failure: Current thread expected to not hold lock for %s
id:9
impossibleSwitchCaseback to summary
public IllegalStateException impossibleSwitchCase(Object cond)
Annotations
@Message:Internal error: Impossible switch condition encountered: %s
id:12
nullArrayParamback to summary
public IllegalArgumentException nullArrayParam(int index, String name)
Annotations
@Message:Array index %d of parameter \'%s\' may not be null
id:5
nullParamback to summary
public IllegalArgumentException nullParam(String paramName)
Annotations
@Message:Parameter \'%s\' may not be null
id:0
paramGreaterThanback to summary
public IllegalArgumentException paramGreaterThan(String name, long max)
Annotations
@Message:Parameter \'%s\' may not be greater than %s
id:2
paramGreaterThanback to summary
public IllegalArgumentException paramGreaterThan(String name, double max)
paramGreaterThanback to summary
public IllegalArgumentException paramGreaterThan(String name, Object max)
paramLessThanback to summary
public IllegalArgumentException paramLessThan(String name, long min)
Annotations
@Message:Parameter \'%s\' may not be less than %s
id:1
paramLessThanback to summary
public IllegalArgumentException paramLessThan(String name, double min)
paramLessThanback to summary
public IllegalArgumentException paramLessThan(String name, Object min)
paramNotPow2back to summary
public IllegalArgumentException paramNotPow2(String name)
Annotations
@Message:Parameter \'%s\' must be a power of two
id:14
unexpectedNullValueback to summary
public String unexpectedNullValue()
Annotations
@Message:Internal error: Assertion failure: Unexpectedly null value
id:7
unreachableCodeback to summary
public IllegalStateException unreachableCode()
Annotations
@Message:Internal error: Unreachable code has been reached
id:11
unsupportedback to summary
public UnsupportedOperationException unsupported(String methodName, String className)
Annotations
@Message:Method "%s" of class "%s" is not supported
id:13