Home
last modified time | relevance | path

Searched refs:IllegalCharsetNameException (Results 1 – 19 of 19) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DIllegalCharsetNameExceptionTest.java20 import java.nio.charset.IllegalCharsetNameException;
33 IllegalCharsetNameException ex = new IllegalCharsetNameException( in testConstructor()
40 ex = new IllegalCharsetNameException("ascii"); in testConstructor()
45 ex = new IllegalCharsetNameException(""); in testConstructor()
50 ex = new IllegalCharsetNameException(null); in testConstructor()
69 IllegalCharsetNameException initEx = (IllegalCharsetNameException) initial;
70 IllegalCharsetNameException desrEx = (IllegalCharsetNameException) deserialized;
82 SerializationTest.verifySelf(new IllegalCharsetNameException( in testSerializationSelf()
91 SerializationTest.verifyGolden(this, new IllegalCharsetNameException( in testSerializationCompatibility()
DCharsetTest.java26 import java.nio.charset.IllegalCharsetNameException;
337 } catch (IllegalCharsetNameException expected) { in testIsSupported_IllegalName()
373 } catch (IllegalCharsetNameException expected) { in testForName_IllegalName()
399 } catch (IllegalCharsetNameException expected) { in testConstructor_EmptyCanonicalName()
407 } catch (IllegalCharsetNameException expected) { in testConstructor_IllegalCanonicalName_Initial()
415 } catch (IllegalCharsetNameException expected) { in testConstructor_IllegalCanonicalName_Middle()
420 } catch (IllegalCharsetNameException expected) { in testConstructor_IllegalCanonicalName_Middle()
460 } catch (IllegalCharsetNameException expected) { in testConstructor_EmptyAliases()
469 } catch (IllegalCharsetNameException e) { in testConstructor_IllegalAliases_Initial()
477 } catch (IllegalCharsetNameException expected) { in testConstructor_IllegalAliases_Middle()
[all …]
/libcore/luni/src/test/java/libcore/java/net/
DUrlEncodingTest.java24 import java.nio.charset.IllegalCharsetNameException;
111 } catch (IllegalCharsetNameException expected) { in testUrlDecoderFailsOnNullCharset()
120 } catch (IllegalCharsetNameException expected) { in testUrlDecoderFailsOnEmptyCharset()
129 } catch (IllegalCharsetNameException expected) { in testUrlEncoderFailsOnNullCharset()
138 } catch (IllegalCharsetNameException expected) { in testUrlEncoderFailsOnEmptyCharset()
/libcore/ojluni/src/main/java/java/nio/charset/
DIllegalCharsetNameException.java40 public class IllegalCharsetNameException class
58 public IllegalCharsetNameException(String charsetName) { in IllegalCharsetNameException() method in IllegalCharsetNameException
DCharset.java302 throw new IllegalCharsetNameException(s); in checkName()
314 throw new IllegalCharsetNameException(s); in checkName()
Dexceptions43 gen IllegalCharsetNameException "
/libcore/ojluni/src/test/java/nio/charset/Charset/
DIllegalCharsetName.java51 } catch (IllegalCharsetNameException x) { //expected in main()
57 } catch (IllegalCharsetNameException x) { //expected in main()
DEmptyCharsetName.java46 if (x instanceof IllegalCharsetNameException) { in Test()
/libcore/ojluni/src/main/java/java/net/
DURLDecoder.java31 import java.nio.charset.IllegalCharsetNameException;
144 } catch (IllegalCharsetNameException | UnsupportedCharsetException e) { in decode()
DURLEncoder.java31 import java.nio.charset.IllegalCharsetNameException;
197 } catch (IllegalCharsetNameException | UnsupportedCharsetException e) { in encode()
/libcore/ojluni/src/main/java/java/util/logging/
DHandler.java157 } catch (java.nio.charset.IllegalCharsetNameException e) { in setEncoding()
/libcore/ojluni/src/main/java/java/io/
DPrintWriter.java32 import java.nio.charset.IllegalCharsetNameException;
87 } catch (IllegalCharsetNameException|UnsupportedCharsetException unused) { in toCharset()
DPrintStream.java32 import java.nio.charset.IllegalCharsetNameException;
104 } catch (IllegalCharsetNameException|UnsupportedCharsetException unused) { in toCharset()
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamDecoder.java73 } catch (IllegalCharsetNameException x) { } in forInputStreamReader()
DStreamEncoder.java60 } catch (IllegalCharsetNameException x) { } in forOutputStreamWriter()
/libcore/ojluni/src/main/java/java/util/
DScanner.java614 } catch (IllegalCharsetNameException|UnsupportedCharsetException e) { in toCharset()
696 } catch (IllegalCharsetNameException|UnsupportedCharsetException unused) { in toDecoder()
DFormatter.java52 import java.nio.charset.IllegalCharsetNameException;
1961 } catch (IllegalCharsetNameException|UnsupportedCharsetException unused) { in toCharset()
/libcore/
Dopenjdk_java_files.bp462 "ojluni/src/main/java/java/nio/charset/IllegalCharsetNameException.java",
/libcore/api/
Dcurrent.txt7190 public class IllegalCharsetNameException extends java.lang.IllegalArgumentException {
7191 ctor public IllegalCharsetNameException(String);