Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for unparseable (0.21 sec)

  1. android/guava/src/com/google/common/net/HostAndPort.java

          checkArgument(
              !portString.startsWith("+") && CharMatcher.ascii().matchesAllOf(portString),
              "Unparseable port number: %s",
              hostPortString);
          try {
            port = Integer.parseInt(portString);
          } catch (NumberFormatException e) {
            throw new IllegalArgumentException("Unparseable port number: " + hostPortString);
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // Valid radix values are Character.MIN_RADIX to Character.MAX_RADIX,
        // inclusive.
        //
        // Note: According to the spec, a NumberFormatException is thrown for a number that is not
        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // Valid radix values are Character.MIN_RADIX to Character.MAX_RADIX,
        // inclusive.
        //
        // Note: According to the spec, a NumberFormatException is thrown for a number that is not
        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top