Searched refs:ex (Results 51 - 75 of 1991) sorted by relevance

1234567891011>>

/openjdk9/jdk/src/java.security.sasl/share/classes/javax/security/sasl/
H A DAuthenticationException.java72 * @param ex A possibly null root exception that caused this exception.
77 public AuthenticationException (String detail, Throwable ex) { argument
78 super(detail, ex);
/openjdk9/jdk/test/java/lang/annotation/AnnotationTypeMismatchException/
H A DFoundType.java39 AnnotationTypeMismatchException ex =
41 if (!TYPE.equals(ex.foundType()))
/openjdk9/jdk/test/java/lang/instrument/
H A DRedefineMethodInBacktraceTargetB.java36 } catch (InterruptedException ex) {
48 } catch (InterruptedException ex) {
/openjdk9/jdk/src/java.rmi/share/classes/java/rmi/
H A DMarshalException.java65 * @param ex the nested exception
68 public MarshalException(String s, Exception ex) { argument
69 super(s, ex);
H A DConnectIOException.java58 * @param ex the nested exception
61 public ConnectIOException(String s, Exception ex) { argument
62 super(s, ex);
/openjdk9/nashorn/test/script/basic/
H A DJDK-8158467.js66 } catch (ex) {
67 print(ex);
73 } catch (ex) {
74 print(ex);
80 } catch (ex) {
81 print(ex);
89 } catch (ex) {
90 output(ex);
H A DNASHORN-182.js49 } catch (ex) {
50 if (! (ex instanceof RangeError)) {
51 fail("RangeException expected, got " + ex);
H A DNASHORN-215.js80 } catch (ex) {
84 print(ex);
89 } catch (ex) {
93 print(ex);
94 ex = "asdf3";
97 print(ex);
99 print(ex);
/openjdk9/langtools/test/tools/javac/multicatch/
H A DPos07.java45 } catch (Exception ex) { //effectively final analysis
46 throw ex;
H A DPos06.java23 } catch (A | B ex) {
24 System.out.println(ex);
H A DPos03.java45 } catch (final B1 | B2 ex) {
46 ex.m();
47 System.out.println(ex.f);
/openjdk9/jdk/test/sun/rmi/rmic/classFileVersion/
H A Drun.sh40 set -ex
/openjdk9/langtools/test/tools/javac/DefiniteAssignment/
H A DThrowBeforeTryFinally.java44 } catch (MyEx ex) {
/openjdk9/langtools/test/tools/javac/
H A DNull2DArray.java39 } catch (NullPointerException ex) {
/openjdk9/jdk/test/javax/security/auth/login/JAASConfigSyntaxCheck/
H A DJAASConfigSyntaxTest.java48 } catch (Exception ex) {
49 if (ex.getMessage().contains("java.io.IOException: "
53 throw new RuntimeException(ex);
/openjdk9/jdk/test/java/io/Serializable/defaultDataEnd/
H A DDefaultDataEnd.java47 } catch (EOFException ex) {
52 } catch (OptionalDataException ex) {
53 if (!ex.eof) {
60 } catch (OptionalDataException ex) {
61 if (!ex.eof) {
79 } catch (OptionalDataException ex) {
80 if (!ex.eof) {
87 } catch (OptionalDataException ex) {
88 if (!ex.eof) {
98 } catch (EOFException ex) {
[all...]
/openjdk9/jdk/test/javax/sql/testng/test/rowset/
H A DRowSetWarningTests.java51 RowSetWarning ex = new RowSetWarning();
52 assertTrue(ex.getMessage() == null
53 && ex.getSQLState() == null
54 && ex.getCause() == null
55 && ex.getErrorCode() == 0);
63 RowSetWarning ex = new RowSetWarning(reason);
64 assertTrue(ex.getMessage().equals(reason)
65 && ex.getSQLState() == null
66 && ex.getCause() == null
67 && ex
[all...]
/openjdk9/jaxp/test/javax/xml/jaxp/unittest/dom/
H A DCR6909336Test.java56 } catch (RuntimeException ex) {
57 System.out.println("RuntimeException ex" + ex.getMessage());
58 if (ex.getMessage().equals("20")) {
61 } catch (XMLStreamException ex) {
62 System.out.println("XMLStreamException ex" + ex.getMessage());
63 } catch (ClassNotFoundException ex) {
64 System.out.println("ClassNotFoundException ex" + ex
[all...]
/openjdk9/jdk/test/java/nio/channels/SocketChannel/
H A DAsyncCloseChannel.java88 } catch (IOException ex) {
89 ex.printStackTrace();
95 } catch (IOException ex) {
96 System.err.println("Exception on sensor server " + ex.getMessage());
120 } catch (IOException ex) {
121 ex.printStackTrace();
127 } catch (IOException ex) {
128 System.err.println("Exception on target server " + ex.getMessage());
146 } catch (InterruptedException ex) { }
153 } catch (InterruptedException ex) { }
[all...]
/openjdk9/jaxp/test/javax/xml/jaxp/unittest/dom/ls/
H A DBug6710741Test.java55 } catch (ParserConfigurationException ex) {
56 ex.printStackTrace();
57 Assert.fail(ex.getMessage());
58 } catch (LSException ex) {
59 ex.printStackTrace();
60 System.out.println("cause: " + ex.getCause());
61 if (ex.getCause() == null) {
76 } catch (ParserConfigurationException ex) {
77 ex.printStackTrace();
78 Assert.fail(ex
[all...]
/openjdk9/hotspot/test/compiler/jvmci/compilerToVM/
H A DGetExceptionTableTest.java102 } catch (ArithmeticException ex) {
103 throw new IOException(ex.getMessage());
104 } catch (IOException ex) {
105 throw new Exception(ex);
106 } catch (Exception ex) {
107 throw new Exception(ex);
115 } catch (IndexOutOfBoundsException ex) {
117 } catch (ArithmeticException ex) {
119 } catch (IOException ex) {
121 } catch (Exception ex) {
[all...]
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DJDK9Wrappers.java67 | SecurityException ex) {
68 throw new Abort(ex);
81 } catch (NoSuchMethodException | SecurityException ex) {
82 throw new Abort(ex);
106 } catch (InvocationTargetException ex) {
107 if (ex.getCause() instanceof IllegalArgumentException) {
108 throw (IllegalArgumentException) ex.getCause();
110 throw new Abort(ex);
112 } catch (IllegalAccessException | IllegalArgumentException | SecurityException ex) {
113 throw new Abort(ex);
[all...]
/openjdk9/langtools/src/jdk.jshell/share/classes/jdk/jshell/execution/
H A DExecutionControlForwarder.java154 } catch (Throwable ex) {
163 } catch (Throwable ex) {
174 } catch (IOException ex) {
176 throw ex;
177 } catch (EngineTerminationException ex) {
179 writeUTF(ex.getMessage());
182 } catch (NotImplementedException ex) {
184 writeUTF(ex.getMessage());
187 } catch (InternalException ex) {
189 writeUTF(ex
[all...]
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/xpointer/
H A DXPointerErrorHandler.java70 public void warning(String domain, String key, XMLParseException ex) argument
72 printError("Warning", ex);
76 public void error(String domain, String key, XMLParseException ex) argument
78 printError("Error", ex);
79 //throw ex;
83 public void fatalError(String domain, String key, XMLParseException ex) argument
85 printError("Fatal Error", ex);
86 throw ex;
94 private void printError(String type, XMLParseException ex) { argument
99 String systemId = ex
[all...]
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/util/
H A DDefaultErrorHandler.java71 public void warning(String domain, String key, XMLParseException ex) argument
73 printError("Warning", ex);
77 public void error(String domain, String key, XMLParseException ex) argument
79 printError("Error", ex);
83 public void fatalError(String domain, String key, XMLParseException ex) argument
85 printError("Fatal Error", ex);
86 throw ex;
94 private void printError(String type, XMLParseException ex) { argument
99 String systemId = ex.getExpandedSystemId();
107 fOut.print(ex
[all...]

Completed in 416 milliseconds

1234567891011>>