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

1234567891011

/openjdk7/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...]
/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/
H A Dk_standard.c96 struct exception exc; local
107 exc.arg1 = x;
108 exc.arg2 = y;
112 exc.type = DOMAIN;
113 exc.name = "acos";
114 exc.retval = zero;
117 else if (!matherr(&exc)) {
126 exc.type = DOMAIN;
127 exc.name = "asin";
128 exc
[all...]
/openjdk7/langtools/test/tools/javac/diags/examples/
H A DUnreachableCatch.java32 catch(java.io.FileNotFoundException exc) { }
33 catch(java.io.IOException exc) { } //unreachable
/openjdk7/jdk/src/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.java48 private volatile Throwable exc; field in class:PendingFuture
155 exc = x;
182 if (exc != null) {
183 if (exc == CANCELLED)
185 throw new ExecutionException(exc);
199 if (exc != null) {
200 if (exc == CANCELLED)
202 throw new ExecutionException(exc);
208 return (exc != CANCELLED) ? exc
[all...]
/openjdk7/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...]
/openjdk7/jdk/test/java/nio/file/etc/
H A DExceptions.java53 FileSystemException exc;
54 exc = new FileSystemException(thisFile, otherFile, reason);
55 exc = (FileSystemException)deserialize(serialize(exc));
56 if (!exc.getFile().equals(thisFile) || !exc.getOtherFile().equals(otherFile))
64 FileSystemException exc = new FileSystemException(thisFile, otherFile, reason);
65 if (!Objects.equals(thisFile, exc.getFile()))
67 if (!Objects.equals(otherFile, exc.getOtherFile()))
69 if (!Objects.equals(reason, exc
[all...]
/openjdk7/jdk/test/com/sun/jdi/
H A DInnerTarg.java41 } catch (Exception exc) {
42 System.out.println("Loading class got " + exc);
/openjdk7/jdk/src/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
/openjdk7/jdk/test/java/util/Locale/
H A Dbug6312358.java50 } catch (InvocationTargetException exc) {
51 Throwable cause = exc.getCause();
61 } catch (InvocationTargetException exc) {
62 Throwable cause = exc.getCause();
72 } catch (InvocationTargetException exc) {
73 Throwable cause = exc.getCause();
78 } catch (java.lang.NoSuchMethodException exc) {
/openjdk7/jdk/src/share/classes/javax/swing/
H A DProgressMonitorInputStream.java113 InterruptedIOException exc =
115 exc.bytesTransferred = nread;
116 throw exc;
130 InterruptedIOException exc =
132 exc.bytesTransferred = nread;
133 throw exc;
149 InterruptedIOException exc =
151 exc.bytesTransferred = nread;
152 throw exc;
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DCompletionHandler.java60 * @param exc
65 void failed(Throwable exc, A attachment); argument
/openjdk7/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) {
/openjdk7/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;
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/corba/
H A DEnvironmentImpl.java51 public void exception(Exception exc) argument
53 _exc = exc;
/openjdk7/jdk/src/share/classes/javax/naming/event/
H A DNamingExceptionEvent.java58 * @param exc The non-null <tt>NamingException</tt> that was thrown.
61 public NamingExceptionEvent(EventContext source, NamingException exc) { argument
63 exception = exc;
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DStringReferenceImpl.java46 } catch (JDWPException exc) {
47 throw exc.toJDIException();
H A DThreadReferenceImpl.java174 } catch (JDWPException exc) {
175 throw exc.toJDIException();
195 } catch (JDWPException exc) {
196 throw exc.toJDIException();
220 } catch (JDWPException exc) {
221 throw exc.toJDIException();
235 } catch (JDWPException exc) {
236 throw exc.toJDIException();
253 } catch (JDWPException exc) {
254 throw exc
[all...]
H A DThreadGroupReferenceImpl.java65 } catch (JDWPException exc) {
66 throw exc.toJDIException();
81 } catch (JDWPException exc) {
82 throw exc.toJDIException();
127 } catch (JDWPException exc) {
128 throw exc.toJDIException();
/openjdk7/jdk/test/java/nio/file/Files/walkFileTree/
H A DPrintFileTree.java71 public FileVisitResult postVisitDirectory(Path dir, IOException exc)
74 if (exc != null)
75 throw exc;
79 public FileVisitResult visitFileFailed(Path file, IOException exc)
82 if (follow && (exc instanceof FileSystemLoopException)) {
87 throw exc;
/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/FixingJavadocs/
H A DSSLSocketInherit.java69 Exception exc = null;
109 exc = new Exception("problem with get/setEnabledCipherSuites()");
116 exc = new Exception("problem with get/setEnabledProtocols()");
120 exc = new Exception("problem with get/setNeedClientAuth()");
124 exc = new Exception("problem with get/setUseClientMode()");
129 if (exc != null) {
130 throw exc;
155 exc = new Exception("problem with get/setEnabledCipherSuites()");
162 exc = new Exception("problem with get/setEnabledProtocols()");
166 exc
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DAbstractSequentialList.java89 } catch (NoSuchElementException exc) {
119 } catch (NoSuchElementException exc) {
147 } catch (NoSuchElementException exc) {
175 } catch (NoSuchElementException exc) {
222 } catch (NoSuchElementException exc) {
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/
H A DSourceNameReferenceTypeSpec.java59 } catch(AbsentInformationException exc) {
60 } catch(ObjectCollectedException exc) {
63 } catch(AbsentInformationException exc) {
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DMonitorTool.java92 } catch (VMNotInterruptedException exc) {
123 } catch (ParseException exc) {
124 this.setText(expr + " ? " + exc.getMessage());
125 } catch (IncompatibleThreadStateException exc) {
127 } catch (Exception exc) {
128 this.setText(expr + " ? " + exc);

Completed in 214 milliseconds

1234567891011