Searched refs:exc (Results 1 - 25 of 278) sorted by relevance

1234567891011>>

/openjdk10/langtools/test/tools/javac/6558548/
H A DT6558548.java19 catch(java.io.FileNotFoundException exc) { }
20 catch(java.io.IOException exc) { } // 6: ok; latest: unreachable
27 catch(java.io.FileNotFoundException exc) { }
28 catch(java.io.IOException exc) { } //ok
35 catch(java.io.FileNotFoundException exc) { }
43 catch(java.io.FileNotFoundException exc) { }
51 catch(Exception exc) { } //ok
58 catch(Exception exc) { } //ok
65 catch(Throwable exc) { } //ok
72 catch(Throwable exc) { } //o
[all...]
/openjdk10/jdk/src/java.base/share/native/libfdlibm/
H A Dk_standard.c95 struct exception exc; local
106 exc.arg1 = x;
107 exc.arg2 = y;
111 exc.type = DOMAIN;
112 exc.name = "acos";
113 exc.retval = zero;
116 else if (!matherr(&exc)) {
125 exc.type = DOMAIN;
126 exc.name = "asin";
127 exc
[all...]
/openjdk10/langtools/test/tools/javac/diags/examples/
H A DUnreachableCatch.java32 catch(java.io.FileNotFoundException exc) { }
33 catch(java.io.IOException exc) { } //unreachable
/openjdk10/jdk/src/java.base/share/classes/sun/nio/ch/
H A DCompletedFuture.java40 private final Throwable exc; field in class:CompletedFuture
42 private CompletedFuture(V result, Throwable exc) { argument
44 this.exc = exc;
51 static <V> CompletedFuture<V> withFailure(Throwable exc) { argument
53 if (!(exc instanceof IOException) && !(exc instanceof SecurityException))
54 exc = new IOException(exc);
55 return new CompletedFuture<V>(null, exc);
58 withResult(V result, Throwable exc) argument
[all...]
H A DPendingFuture.java46 private volatile Throwable exc; field in class:PendingFuture
153 exc = x;
180 if (exc != null) {
181 if (exc instanceof CancellationException)
183 throw new ExecutionException(exc);
197 if (exc != null) {
198 if (exc instanceof CancellationException)
200 throw new ExecutionException(exc);
206 return (exc instanceof CancellationException) ? null : exc;
[all...]
/openjdk10/jdk/test/java/util/TreeMap/
H A DSubMap.java40 boolean exc = false;
44 exc = true;
46 if (!exc)
49 exc = false;
53 exc = true;
55 if (!exc)
70 exc = false;
74 exc = true;
76 if (!exc)
79 exc
[all...]
/openjdk10/jdk/test/java/nio/file/etc/
H A DExceptions.java54 FileSystemException exc;
55 exc = new FileSystemException(thisFile, otherFile, reason);
56 exc = (FileSystemException)deserialize(serialize(exc));
57 if (!exc.getFile().equals(thisFile) || !exc.getOtherFile().equals(otherFile))
65 FileSystemException exc = new FileSystemException(thisFile, otherFile, reason);
66 if (!Objects.equals(thisFile, exc.getFile()))
68 if (!Objects.equals(otherFile, exc.getOtherFile()))
70 if (!Objects.equals(reason, exc
[all...]
/openjdk10/jdk/test/com/sun/jdi/
H A DInnerTarg.java41 } catch (Exception exc) {
42 System.out.println("Loading class got " + exc);
H A DExpiredRequestDeletionTest.java84 } catch (Throwable exc) {
85 throwable = exc;
86 failure("Deleting BreakpointRequest threw - " + exc);
99 } catch (Throwable exc) {
100 throwable = exc;
101 failure("Deleting StepRequest threw - " + exc);
/openjdk10/nashorn/test/script/trusted/
H A Dclassfilter_mozilla_compat.js42 } catch (exc) {
43 print(exc.message)
H A Dclassfilter_extends.js41 } catch (exc) {
42 print(exc.message)
/openjdk10/jdk/src/java.base/share/classes/java/nio/file/
H A DSimpleFileVisitor.java87 public FileVisitResult visitFileFailed(T file, IOException exc) argument
91 throw exc;
104 public FileVisitResult postVisitDirectory(T dir, IOException exc) argument
108 if (exc != null)
109 throw exc;
H A DFileVisitor.java145 * @param exc
153 FileVisitResult visitFileFailed(T file, IOException exc) argument
165 * @param exc
175 FileVisitResult postVisitDirectory(T dir, IOException exc) argument
/openjdk10/jdk/test/java/nio/channels/Pipe/
H A DPipeInterrupt.java37 private Exception exc = null; field in class:PipeInterrupt
58 exc = new RuntimeException("interrupt status reset");
62 exc = ioe;
80 if (exc != null)
81 throw exc;
/openjdk10/jdk/test/java/util/Locale/
H A Dbug6312358.java51 } catch (InvocationTargetException exc) {
52 Throwable cause = exc.getCause();
62 } catch (InvocationTargetException exc) {
63 Throwable cause = exc.getCause();
73 } catch (InvocationTargetException exc) {
74 Throwable cause = exc.getCause();
79 } catch (java.lang.NoSuchMethodException exc) {
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DProgressMonitorInputStream.java114 InterruptedIOException exc =
116 exc.bytesTransferred = nread;
117 throw exc;
131 InterruptedIOException exc =
133 exc.bytesTransferred = nread;
134 throw exc;
150 InterruptedIOException exc =
152 exc.bytesTransferred = nread;
153 throw exc;
/openjdk10/jdk/src/java.base/share/classes/java/nio/channels/
H A DCompletionHandler.java60 * @param exc
65 void failed(Throwable exc, A attachment); argument
/openjdk10/jdk/test/java/security/Security/ClassLoaderDeadlock/
H A DDeadlock.java31 private volatile Exception exc; field in class:Deadlock
39 this.exc = e;
54 if (d.exc != null) {
55 throw d.exc;
/openjdk10/jdk/test/java/net/Socket/
H A DRST.java52 SocketException exc = null;
62 exc = se;
68 if (exc == null) {
71 if (exc.getMessage().toLowerCase().indexOf("reset") == -1) {
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/corba/
H A DEnvironmentImpl.java51 public void exception(Exception exc) argument
53 _exc = exc;
/openjdk10/jdk/src/java.naming/share/classes/javax/naming/event/
H A DNamingExceptionEvent.java58 * @param exc The non-null {@code NamingException} that was thrown.
61 public NamingExceptionEvent(EventContext source, NamingException exc) { argument
63 exception = exc;
/openjdk10/jdk/test/javax/net/ssl/FixingJavadocs/
H A DSSLSocketInherit.java67 Exception exc = null;
107 exc = new Exception("problem with get/setEnabledCipherSuites()");
114 exc = new Exception("problem with get/setEnabledProtocols()");
118 exc = new Exception("problem with get/setNeedClientAuth()");
122 exc = new Exception("problem with get/setUseClientMode()");
127 if (exc != null) {
128 throw exc;
153 exc = new Exception("problem with get/setEnabledCipherSuites()");
160 exc = new Exception("problem with get/setEnabledProtocols()");
164 exc
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/util/
H A DAbstractSequentialList.java89 } catch (NoSuchElementException exc) {
119 } catch (NoSuchElementException exc) {
147 } catch (NoSuchElementException exc) {
175 } catch (NoSuchElementException exc) {
221 } catch (NoSuchElementException exc) {
/openjdk10/jdk/src/jdk.jdi/share/classes/com/sun/tools/jdi/
H A DThreadReferenceImpl.java191 } catch (JDWPException exc) {
192 throw exc.toJDIException();
212 } catch (JDWPException exc) {
213 throw exc.toJDIException();
237 } catch (JDWPException exc) {
238 throw exc.toJDIException();
252 } catch (JDWPException exc) {
253 throw exc.toJDIException();
270 } catch (JDWPException exc) {
271 throw exc
[all...]
H A DStringReferenceImpl.java48 } catch (JDWPException exc) {
49 throw exc.toJDIException();

Completed in 227 milliseconds

1234567891011>>