/openjdk9/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/util/ |
H A D | XmlFactory.java | 97 } catch (SAXNotRecognizedException ex) { 98 LOGGER.log(Level.SEVERE, null, ex); 99 throw new IllegalStateException(ex); 100 } catch (SAXNotSupportedException ex) { 101 LOGGER.log(Level.SEVERE, null, ex); 102 throw new IllegalStateException(ex); 123 } catch (ParserConfigurationException ex) { 124 LOGGER.log(Level.SEVERE, null, ex); 125 throw new IllegalStateException( ex); 126 } catch (SAXNotRecognizedException ex) { [all...] |
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/xml/sax/ |
H A D | JAXPXMLReaderCreator.java | 83 } catch (ParserConfigurationException ex) { 84 Logger.getLogger(JAXPXMLReaderCreator.class.getName()).log(Level.SEVERE, null, ex); 85 } catch (SAXNotRecognizedException ex) { 86 Logger.getLogger(JAXPXMLReaderCreator.class.getName()).log(Level.SEVERE, null, ex); 87 } catch (SAXNotSupportedException ex) { 88 Logger.getLogger(JAXPXMLReaderCreator.class.getName()).log(Level.SEVERE, null, ex);
|
/openjdk9/jdk/test/java/io/Serializable/serialFilter/ |
H A D | FilterWithSecurityManagerTest.java | 77 } catch (AccessControlException ex) { 79 assertTrue(ex.getMessage().contains("java.io.SerializablePermission")); 80 assertTrue(ex.getMessage().contains("serialFilter")); 96 } catch (AccessControlException ex) { 98 assertTrue(ex.getMessage().contains("java.io.SerializablePermission")); 99 assertTrue(ex.getMessage().contains("serialFilter"));
|
/openjdk9/jdk/test/com/sun/jdi/ |
H A D | MethodCallsReflection.java | 90 } catch (IndexOutOfBoundsException ex) { 96 } catch (IndexOutOfBoundsException ex) { 102 } catch (InvocationTargetException ex) { 108 } catch (IndexOutOfBoundsException ex) { 114 } catch (IndexOutOfBoundsException ex) { 119 } catch (InvocationTargetException ex) {
|
/openjdk9/jdk/test/javax/management/remote/mandatory/connection/ |
H A D | ObjectInputStreamWithLoaderNullCheckTest.java | 68 } catch (InvocationTargetException ex) { 69 Throwable cause = ex.getCause(); 75 ex.printStackTrace(); 78 } catch (Exception ex) { 79 System.out.println(">>> == Test case failed with error " + ex.getCause().getMessage()); 80 ex.printStackTrace();
|
/openjdk9/jdk/test/javax/sound/sampled/Clip/ |
H A D | ClipSetPos.java | 52 } catch (LineUnavailableException ex) { 53 log(ex); 56 } catch (IllegalArgumentException ex) { 57 log(ex); 89 static void log(Exception ex) { argument 90 ex.printStackTrace(System.out);
|
/openjdk9/jdk/test/javax/swing/JEditorPane/8146319/ |
H A D | JEditorPaneTest.java | 53 } catch (IOException ex) { 55 throw new RuntimeException("Test Failed" + ex); 64 } catch (IOException ex) { 65 throw new RuntimeException("Failed to create File" + ex); 76 } catch (IOException ex) { 77 throw new RuntimeException("Failed to write File" + ex);
|
/openjdk9/jdk/test/javax/rmi/PortableRemoteObject/ |
H A D | _HelloInterface_Stub.java | 45 } catch (ApplicationException ex) { 46 in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream(); 49 } catch (RemarshalException ex) { 54 } catch (SystemException ex) { 55 throw Util.mapSystemException(ex); 64 } catch (Throwable ex) { 65 Throwable exCopy = (Throwable)Util.copyObject(ex,_orb()); 84 } catch (ApplicationException ex) { 85 in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream(); 88 } catch (RemarshalException ex) { [all...] |
/openjdk9/jdk/src/java.logging/share/classes/java/util/logging/ |
H A D | StreamHandler.java | 138 } catch (UnsupportedEncodingException ex) { 141 throw new Error("Unexpected exception " + ex); 200 } catch (Exception ex) { 203 reportError(null, ex, ErrorManager.FORMAT_FAILURE); 213 } catch (Exception ex) { 216 reportError(null, ex, ErrorManager.WRITE_FAILURE); 248 } catch (Exception ex) { 251 reportError(null, ex, ErrorManager.FLUSH_FAILURE); 267 } catch (Exception ex) { 270 reportError(null, ex, ErrorManage [all...] |
/openjdk9/jdk/test/java/util/zip/ |
H A D | ConstructInflaterOutput.java | 56 } catch (NullPointerException ex) { 63 } catch (NullPointerException ex) { 70 } catch (IllegalArgumentException ex) { 81 } catch (NullPointerException ex) { 88 } catch (IndexOutOfBoundsException ex) { 95 } catch (IndexOutOfBoundsException ex) { 102 } catch (IndexOutOfBoundsException ex) { 117 } catch (IOException ex) { 123 } catch (IOException ex) { 133 } catch (IOException ex) { [all...] |
/openjdk9/jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/algorithms/implementations/ |
H A D | SignatureBaseRSA.java | 71 } catch (java.security.NoSuchAlgorithmException ex) { 72 Object[] exArgs = { algorithmID, ex.getLocalizedMessage() }; 75 } catch (NoSuchProviderException ex) { 76 Object[] exArgs = { algorithmID, ex.getLocalizedMessage() }; 87 } catch (InvalidAlgorithmParameterException ex) { 88 throw new XMLSignatureException("empty", ex); 96 } catch (SignatureException ex) { 97 throw new XMLSignatureException("empty", ex); 113 } catch (InvalidKeyException ex) { 127 throw new XMLSignatureException("empty", ex); [all...] |
/openjdk9/langtools/src/jdk.jshell/share/classes/jdk/jshell/execution/ |
H A D | DirectExecutionControl.java | 113 } catch (Throwable ex) { 114 throw new InternalException(ex.toString()); 122 } catch (RunException | InternalException | EngineTerminationException ex) { 123 throw ex; 124 } catch (SPIResolutionException ex) { 125 return throwConvertedInvocationException(ex); 126 } catch (InvocationTargetException ex) { 127 return throwConvertedInvocationException(ex.getCause()); 128 } catch (Throwable ex) { 129 return throwConvertedOtherException(ex); 309 throwConvertedOtherException(Throwable ex) argument [all...] |
H A D | StreamingExecutionControl.java | 68 } catch (IOException ex) { 69 throw new EngineTerminationException("Exception writing remote load: " + ex); 83 } catch (IOException ex) { 84 throw new EngineTerminationException("Exception writing remote redefine: " + ex); 101 } catch (IOException ex) { 102 throw new EngineTerminationException("Exception writing remote invoke: " + ex); 119 } catch (IOException ex) { 120 throw new EngineTerminationException("Exception writing remote varValue: " + ex); 135 } catch (IOException ex) { 136 throw new EngineTerminationException("Exception writing remote add to classpath: " + ex); [all...] |
H A D | DemultiplexInput.java | 75 } catch (IOException ex) { 76 debug(ex, "Failed reading output"); 81 } catch (IOException ex) { 82 debug(ex, "Failed reading output"); 102 * @param ex the exception 105 private void debug(Throwable ex, String where) { argument
|
/openjdk9/jdk/test/java/lang/Math/ |
H A D | ExactArithTests.java | 100 } catch (ArithmeticException ex) { 103 fail("FAIL: int Math.addExact(" + x + " + " + y + ")" + "; Unexpected exception: " + ex); 116 } catch (ArithmeticException ex) { 119 fail("FAIL: int Math.subtractExact(" + x + " - " + y + ")" + "; Unexpected exception: " + ex); 130 } catch (ArithmeticException ex) { 133 fail("FAIL: int Math.multiplyExact(" + x + " * " + y + ")" + "; Unexpected exception: " + ex); 146 } catch (ArithmeticException ex) { 149 fail("FAIL: int Math.incrementExact(" + x + ")" + "; Unexpected exception: " + ex); 163 } catch (ArithmeticException ex) { 166 fail("FAIL: int Math.decrementExact(" + x + ")" + "; Unexpected exception: " + ex); [all...] |
/openjdk9/jdk/test/java/lang/instrument/ |
H A D | RedefineClassesTests.java | 81 ExampleRedefine ex = new ExampleRedefine(); 84 int firstGet = ex.get(); 85 ex.doSomething(); 86 int secondGet = ex.get(); 104 int thirdGet = ex.get(); 105 ex.doSomething(); 106 int fourthGet = ex.get();
|
/openjdk9/jdk/test/com/sun/crypto/provider/Cipher/PBE/ |
H A D | TestCipherPBECons.java | 72 } catch (Exception ex) { 74 ex.printStackTrace(out); 94 } catch (NoSuchAlgorithmException ex) { 103 out.println("Caught exception: " + ex.getMessage()); 104 throw ex; 105 } catch (NoSuchPaddingException ex) { 111 out.println("Caught unexpected exception: " + ex.getMessage());
|
/openjdk9/jdk/test/com/sun/corba/serialization/ |
H A D | ObjectStreamTest$_Echo_Stub.java | 62 } catch (ApplicationException ex) { 63 in = ex.getInputStream(); 66 } catch (RemarshalException ex) { 71 } catch (SystemException ex) { 72 throw Util.mapSystemException(ex); 83 } catch (Throwable ex) { 84 Throwable exCopy = (Throwable)Util.copyObject(ex,_orb());
|
/openjdk9/jdk/test/java/lang/ProcessBuilder/ |
H A D | SiblingIOEHandle.java | 85 } catch (InterruptedException ex) { 94 } catch (InterruptedException ex) { 96 } catch (BrokenBarrierException ex) { 97 ex.printStackTrace(); 122 } catch (IOException ex) { 123 ex.printStackTrace(); 160 } catch (InterruptedException ex) { 174 } catch (InterruptedException ex) { 207 } catch (IOException ex) { 208 throw new RuntimeException("Catastrophe in process A!", ex); [all...] |
H A D | InheritIOEHandle.java | 120 } catch (IOException ex) { 121 throw new RuntimeException("Catastrophe in process A!", ex); 122 } catch (InterruptedException ex) { 123 throw new RuntimeException("A was interrupted while waiting for B", ex); 145 } catch (IOException ex) { 146 throw new RuntimeException("Catastrophe in process B!", ex); 147 } catch (InterruptedException ex) { 148 throw new RuntimeException("B was interrupted while waiting for C", ex); 157 } catch (InterruptedException ex) {
|
/openjdk9/jaxp/test/javax/xml/jaxp/unittest/sax/ |
H A D | IssueTracker56Test.java | 61 } catch (SAXException ex) { 62 System.out.println(ex.getCause()); 63 if (ex.getCause() == null) 65 // ex.printStackTrace(); //will not print out root cause without the 67 } catch (IOException ex) { 69 } catch (ParserConfigurationException ex) { 82 } catch (SAXException ex) { 83 System.out.println(ex.getCause()); 84 // ex.printStackTrace(); //will print out root cause 85 } catch (IOException ex) { [all...] |
/openjdk9/corba/src/jdk.rmic/share/classes/sun/rmi/rmic/iiop/ |
H A D | ClassPathLoader.java | 92 } catch (IOException ex) { 96 reportedError = ex; 100 try { input.close(); } catch (IOException ex) {} 102 } catch (IOException ex) { 105 reportedError = ex;
|
/openjdk9/jdk/test/java/io/Serializable/unshared/ |
H A D | Read.java | 61 } catch (ObjectStreamException ex) { 70 } catch (ObjectStreamException ex) { 79 } catch (ObjectStreamException ex) { 90 } catch (ObjectStreamException ex) { 103 } catch (ObjectStreamException ex) {
|
/openjdk9/langtools/test/tools/javac/TryWithResources/ |
H A D | TwrForVariable1.java | 21 } catch (Exception ex) { 25 } catch (Exception ex) { 29 } catch (Exception ex) { 33 } catch (CloseableException ex) { 34 try (ex) {
|
/openjdk9/langtools/test/tools/javac/api/6411333/ |
H A D | T6411333.java | 60 } catch (IOException ex) { 61 throw new AssertionError(ex); 69 } catch (IllegalArgumentException ex) { 72 } catch (IOException ex) { 73 throw new AssertionError(ex);
|