Interface CommonMessages


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

      • paramGreaterThan

        @Message(id=2,
                 value="Parameter \'%s\' must not be greater than than %d")
        IllegalArgumentException paramGreaterThan​(String name,
                                                  long 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)
      • invalidPermissionAction

        @Message(id=7,
                 value="Invalid permission action \'%s\'")
        IllegalArgumentException invalidPermissionAction​(String action)
      • 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)
      • readOnlyPermissionCollection

        @Message(id=300,
                 value="Permission collection is read-only")
        SecurityException readOnlyPermissionCollection()
      • 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)