Searched refs:thrown (Results 1 - 25 of 40) sorted by relevance

12

/openjdk7/hotspot/test/compiler/7088020/
H A DTest7088020.java45 int thrown = 0;
49 thrown++;
55 thrown++;
61 thrown++;
67 thrown++;
71 thrown++;
76 if (thrown != 5) {
/openjdk7/jdk/src/share/classes/java/lang/
H A DExceptionInInitializerError.java30 * An <code>ExceptionInInitializerError</code> is thrown to indicate that an
52 * ExceptionInInitializerError(Throwable thrown) constructor was
72 * saving a reference to the <code>Throwable</code> object thrown for
76 * @param thrown The exception thrown
78 public ExceptionInInitializerError(Throwable thrown) { argument
80 this.exception = thrown;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/istack/internal/logging/
H A DLogger.java132 public void log(final Level level, final String message, final Throwable thrown) { argument
136 logger.logp(level, componentClassName, getCallerMethodName(), message, thrown);
146 public void finest(final String message, final Throwable thrown) { argument
150 logger.logp(Level.FINEST, componentClassName, getCallerMethodName(), message, thrown);
160 public void finer(final String message, final Throwable thrown) { argument
164 logger.logp(Level.FINER, componentClassName, getCallerMethodName(), message, thrown);
174 public void fine(final String message, final Throwable thrown) { argument
178 logger.logp(Level.FINE, componentClassName, getCallerMethodName(), message, thrown);
188 public void info(final String message, final Throwable thrown) { argument
192 logger.logp(Level.INFO, componentClassName, getCallerMethodName(), message, thrown);
202 config(final String message, final Throwable thrown) argument
216 warning(final String message, final Throwable thrown) argument
230 severe(final String message, final Throwable thrown) argument
[all...]
/openjdk7/jdk/test/com/sun/crypto/provider/Mac/
H A DMacClone.java43 boolean thrown = false;
47 thrown = true;
49 if (!thrown) {
50 throw new Exception("Expected IllegalStateException not thrown");
/openjdk7/jdk/test/java/io/RandomAccessFile/
H A DSetLength.java68 boolean thrown = false;
72 thrown = true;
74 if (!thrown) fail("setLength succeeded on a file opened read-only");
H A DParameterCheck.java104 boolean thrown = false;
118 thrown = true;
120 if (!thrown) {
/openjdk7/jdk/test/javax/management/MBeanServer/
H A DPostExceptionTest.java120 // will be thrown
129 Exception reg = null; // exception thrown by create/register
130 Exception unreg = null; // exception thrown by unregister
177 "thrown by "+where);
179 "thrown by "+where);
191 "thrown by "+where);
193 "thrown by "+where);
295 // Checks that an exception thrown by the MBeanServer correspond to
299 public void check(Exception thrown, Throwable t) argument
302 if (!(thrown instanceo
[all...]
/openjdk7/jdk/test/com/sun/jdi/
H A DUnloadEventTarg.java59 catch ( Throwable thrown ) { // OutOfMemoryError
H A DClassLoaderTarg.java90 } catch (Throwable thrown) {
H A DFinalizerTest.java97 catch ( Throwable thrown ) { // OutOfMemoryError
/openjdk7/jdk/src/share/classes/java/util/logging/
H A DLogRecord.java128 private Throwable thrown; field in class:LogRecord
444 return thrown;
450 * @param thrown a throwable (may be null)
452 public void setThrown(Throwable thrown) { argument
453 this.thrown = thrown;
H A DLogger.java416 * is thrown.
705 * Note that the thrown argument is stored in the LogRecord thrown
712 * @param thrown Throwable associated with log message.
714 public void log(Level level, String msg, Throwable thrown) { argument
719 lr.setThrown(thrown);
811 * Note that the thrown argument is stored in the LogRecord thrown
820 * @param thrown Throwable associated with log message.
823 String msg, Throwable thrown) {
822 logp(Level level, String sourceClass, String sourceMethod, String msg, Throwable thrown) argument
971 logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown) argument
1112 throwing(String sourceClass, String sourceMethod, Throwable thrown) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DFlow.java49 * thrown is declared or caught. Definite assignment analysis
142 * thrown a checked exception) are recorded in a queue, and removed
149 * global variable "Set<Type> thrown" that records the type of all
150 * exceptions that can be thrown.
266 /** The list of possibly thrown declarable exceptions.
268 List<Type> thrown; field in class:Flow
271 * thrown.
294 Type thrown; field in class:Flow.PendingExit
300 PendingExit(JCTree tree, Type thrown) { argument
302 this.thrown
[all...]
H A DMemberEnter.java348 * @param thrown The method's thrown exceptions.
354 List<JCExpression> thrown,
371 // Attribute thrown exceptions.
373 for (List<JCExpression> l = thrown; l.nonEmpty(); l = l.tail) {
439 List.<JCExpression>nil(), // thrown
453 List.<JCExpression>nil(), // thrown
577 tree.restype, tree.thrown,
965 List<Type> thrown = List.nil();
980 thrown
351 signature(List<JCTypeParameter> typarams, List<JCVariableDecl> params, JCTree res, List<JCExpression> thrown, Env<AttrContext> env) argument
1225 DefaultConstructor(TreeMaker make, ClassSymbol c, List<Type> typarams, List<Type> argtypes, List<Type> thrown, long flags, boolean based) argument
[all...]
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/DES/
H A DDesAPITest.java134 boolean thrown = false;
139 thrown = true;
141 if (!thrown) {
142 throw new Exception("Expected IAE not thrown!");
/openjdk7/jdk/src/share/classes/sun/rmi/runtime/
H A DLog.java86 public abstract void log(Level level, String message, Throwable thrown); argument
233 public void log(Level level, String message, Throwable thrown) { argument
238 message, thrown);
401 public void log(Level level, String message, Throwable thrown) { argument
411 thrown.printStackTrace(stream);
/openjdk7/jdk/src/share/classes/sun/tools/javac/
H A DSourceMember.java552 Hashtable thrown = new Hashtable(htsize);
554 vset = s.checkMethod(env, ctx, vset, thrown);
561 for (Enumeration e = thrown.keys(); e.hasMoreElements();) {
578 Node n = (Node)thrown.get(c);
609 Hashtable thrown = new Hashtable(3); // small & throw-away
613 getType(), thrown);
639 for (Enumeration e = thrown.keys(); e.hasMoreElements(); ) {
646 Node n = (Node)thrown.get(c);
/openjdk7/jdk/test/java/util/logging/
H A DLoggingDeadlock2.java76 final Throwable[] thrown = new Throwable[1];
110 if (thrown[0] != null)
111 throw new Error(thrown[0]);
/openjdk7/jdk/src/share/classes/sun/util/logging/
H A DPlatformLogger.java458 abstract void doLog(Level level, String msg, Throwable thrown); argument
505 void doLog(Level level, String msg, Throwable thrown) { argument
507 outputStream().print(format(level, msg, thrown));
557 private synchronized String format(Level level, String msg, Throwable thrown) { argument
560 if (thrown != null) {
564 thrown.printStackTrace(pw);
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DHandshaker.java151 * If thrown is set, we need to propagate this back immediately
158 private volatile Exception thrown = null; field in class:Handshaker
1301 thrown = pae.getException();
1303 thrown = rte;
1314 thrown = null;
1343 if (thrown != null) {
1345 String msg = thrown.getMessage();
1353 * throw the same thing. Chain thrown to the new exception.
1355 Exception e = thrown;
1356 thrown
[all...]
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DThreadPoolExecutor.java499 * errors such as OutOfMemoryError, that might be thrown while
1103 * gathering any of its thrown exceptions to send to
1108 * thread's UncaughtExceptionHandler). Any thrown exception also
1143 Throwable thrown = null;
1147 thrown = x; throw x;
1149 thrown = x; throw x;
1151 thrown = x; throw new Error(x);
1153 afterExecute(task, thrown);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DType.java866 public List<Type> thrown; field in class:Type.MethodType
870 List<Type> thrown,
875 this.thrown = thrown;
922 public List<Type> getThrownTypes() { return thrown; }
933 List<Type> thrown1 = map(thrown, f);
936 thrown1 == thrown) return this;
950 for (List<Type> l = thrown; l.nonEmpty(); l = l.tail)
868 MethodType(List<Type> argtypes, Type restype, List<Type> thrown, TypeSymbol methodClass) argument
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DClassReader.java668 List<Type> thrown = List.nil();
671 thrown = thrown.prepend(sigToType());
675 thrown.reverse(),
965 List<Type> thrown = List.nil();
967 thrown = thrown.prepend(readClassSymbol(nextChar()).type);
969 sym.type.asMethodType().thrown = thrown.reverse();
1064 List<Type> thrown
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/tree/
H A DTreeTranslator.java143 tree.thrown = translate(tree.thrown);
H A DTreeScanner.java88 scan(tree.thrown);

Completed in 139 milliseconds

12