Interface CommonMessages

All Known Implementing Classes:
CommonMessages_$bundle

@MessageBundle(projectCode="COM", length=5) public interface CommonMessages
Author:
David M. Lloyd
  • Field Details

  • Method Details

    • nullParam

      @Message(id=0, value="Parameter \'%s\' may not be null") IllegalArgumentException nullParam(String paramName)
    • paramLessThan

      @Message(id=1, value="Parameter \'%s\' must not be less than %d") IllegalArgumentException paramLessThan(String name, long min)
    • paramLessThan

      IllegalArgumentException paramLessThan(String name, double min)
    • paramGreaterThan

      @Message(id=2, value="Parameter \'%s\' must not be greater than than %d") IllegalArgumentException paramGreaterThan(String name, long max)
    • paramGreaterThan

      IllegalArgumentException paramGreaterThan(String name, double max)
    • arrayOffsetGreaterThanLength

      @Message(id=3, value="Given offset of %d is greater than array length of %d") ArrayIndexOutOfBoundsException arrayOffsetGreaterThanLength(int offs, int arrayLength)
    • arrayOffsetLengthGreaterThanLength

      @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)
    • nullArrayParam

      @Message(id=5, value="Array index %d of parameter \'%s\' may not be null") IllegalArgumentException nullArrayParam(int index, String name)
    • nullParamNPE

      @Message(id=6, value="Parameter \'%s\' may not be null") NullPointerException nullParamNPE(String name)
    • invalidPermissionAction

      @Message(id=7, value="Invalid permission action \'%s\'") IllegalArgumentException invalidPermissionAction(String action)
    • emptyParam

      @Message(id=8, value="Parameter \'%s\' must not be empty") IllegalArgumentException emptyParam(String name)
    • invalidExpressionSyntax

      @Message(id=9, value="Invalid expression syntax at position %d") String invalidExpressionSyntax(int index)
    • unresolvedEnvironmentProperty

      @Message(id=10, value="No environment property found named \"%s\"") IllegalArgumentException unresolvedEnvironmentProperty(String name)
    • unresolvedSystemProperty

      @Message(id=11, value="No system property found named \"%s\"") IllegalArgumentException unresolvedSystemProperty(String name)
    • invalidAddressBytes

      @Message(id=12, value="Invalid address length of %d; must be 4 or 16") IllegalArgumentException invalidAddressBytes(int length)
    • invalidAddress

      @Message(id=13, value="Invalid address string \"%s\"") IllegalArgumentException invalidAddress(String address)
    • unsupported

      @Message(id=100, value="Method \"%s\" of class \"%s\" is not implemented") UnsupportedOperationException unsupported(String methodName, String className)
    • privilegedActionFailed

      @Message(id=200, value="Privileged action failed") PrivilegedActionException privilegedActionFailed(@Cause Exception e)
    • readOnlyPermissionCollection

      @Message(id=300, value="Permission collection is read-only") SecurityException readOnlyPermissionCollection()
    • invalidPermissionType

      @Message(id=301, value="Invalid permission type (expected %s, actual value was %s)") IllegalArgumentException invalidPermissionType(Class<? extends Permission> expectedType, Class<? extends Permission> actualType)
    • invalidOddFields

      @Message(id=400, value="Invalid serialized remote exception cause object with odd number of strings in fields key/value list") IllegalStateException invalidOddFields()
    • cannotContainNullFieldNameOrValue

      @Message(id=401, value="Field name or field value cannot be null") IllegalArgumentException cannotContainNullFieldNameOrValue()
    • corruptedStream

      @Message(id=402, value="Remote exception stream is corrupted and cannot be read") IOException corruptedStream()
    • remoteException

      @Message("Remote exception %s: %s") String remoteException(String exceptionClassName, String message)
    • remoteException

      @Message("Remote exception %s") String remoteException(String exceptionClassName)
    • unexpectedPadding

      @Message(id=500, value="Unexpected padding") DecodeException unexpectedPadding()
    • expectedPadding

      @Message(id=501, value="Expected padding") DecodeException expectedPadding()
    • incompleteDecode

      @Message(id=502, value="Incomplete decode") DecodeException incompleteDecode()
    • expectedPaddingCharacters

      @Message(id=503, value="Expected %d padding characters") DecodeException expectedPaddingCharacters(int numExpected)
    • invalidBase32Character

      @Message(id=504, value="Invalid base 32 character") DecodeException invalidBase32Character()
    • expectedEvenNumberOfHexCharacters

      @Message(id=505, value="Expected an even number of hex characters") DecodeException expectedEvenNumberOfHexCharacters()
    • invalidHexCharacter

      @Message(id=506, value="Invalid hex character") DecodeException invalidHexCharacter()
    • expectedTwoPaddingCharacters

      @Message(id=507, value="Expected two padding characters") DecodeException expectedTwoPaddingCharacters()
    • invalidBase64Character

      @Message(id=508, value="Invalid base 64 character") DecodeException invalidBase64Character()
    • tooLarge

      @Message(id=509, value="Byte string builder is too large to grow") IllegalStateException tooLarge()
    • unexpectedNullValue

      @Message(id=1000, value="Internal error: Assertion failure: Unexpectedly null value") String unexpectedNullValue()
    • expectedLockHold

      @Message(id=1001, value="Internal error: Assertion failure: Current thread expected to hold lock for %s") String expectedLockHold(Object monitor)
    • expectedLockNotHold

      @Message(id=1002, value="Internal error: Assertion failure: Current thread expected to not hold lock for %s") String expectedLockNotHold(Object monitor)
    • expectedBoolean

      @Message(id=1003, value="Internal error: Assertion failure: Expected boolean value to be %s") String expectedBoolean(boolean expr)
    • unreachableCode

      @Message(id=2000, value="Internal error: Unreachable code has been reached") IllegalStateException unreachableCode()
    • impossibleSwitchCase

      @Message(id=2001, value="Internal error: Impossible switch condition encountered: %s") IllegalStateException impossibleSwitchCase(Object cond)