Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for decodeChecked (0.09 sec)

  1. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

              }
            }
          }
        },
        DECODE_CHECKED {
          @Override
          void assertFailsToDecode(
              BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
            try {
              encoding.decodeChecked(cannotDecode);
              fail("Expected DecodingException");
            } catch (DecodingException expected) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/BaseEncoding.java

       *
       * @throws IllegalArgumentException if the input is not a valid encoded string according to this
       *     encoding.
       */
      public final byte[] decode(CharSequence chars) {
        try {
          return decodeChecked(chars);
        } catch (DecodingException badInput) {
          throw new IllegalArgumentException(badInput);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/BaseEncodingTest.java

              }
            }
          }
        },
        DECODE_CHECKED {
          @Override
          void assertFailsToDecode(
              BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
            try {
              encoding.decodeChecked(cannotDecode);
              fail("Expected DecodingException");
            } catch (DecodingException expected) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
Back to top