Searched defs:thrown (Results 1 - 15 of 15) sorted by relevance

/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/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/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/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/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/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/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...]
H A DCheck.java1285 /** Return all exceptions in thrown list that are not in handled list.
1286 * @param thrown The list of thrown exceptions.
1289 List<Type> unhandled(List<Type> thrown, List<Type> handled) { argument
1291 for (List<Type> l = thrown; l.nonEmpty(); l = l.tail)
1473 "override.unchecked.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/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/langtools/src/share/classes/com/sun/tools/javac/tree/
H A DTreeMaker.java169 List<JCExpression> thrown,
177 thrown,
164 MethodDef(JCModifiers mods, Name name, JCExpression restype, List<JCTypeParameter> typarams, List<JCVariableDecl> params, List<JCExpression> thrown, JCBlock body, JCExpression defaultValue) argument
H A DJCTree.java634 * @param thrown exceptions thrown by this method
644 public List<JCExpression> thrown; field in class:JCTree.JCMethodDecl
653 List<JCExpression> thrown,
663 this.thrown = thrown;
682 return thrown;
2115 List<JCExpression> thrown,
648 JCMethodDecl(JCModifiers mods, Name name, JCExpression restype, List<JCTypeParameter> typarams, List<JCVariableDecl> params, List<JCExpression> thrown, JCBlock body, JCExpression defaultValue, MethodSymbol sym) argument
2110 MethodDef(JCModifiers mods, Name name, JCExpression restype, List<JCTypeParameter> typarams, List<JCVariableDecl> params, List<JCExpression> thrown, JCBlock body, JCExpression defaultValue) argument
/openjdk7/jdk/test/java/lang/invoke/
H A DMethodHandlesTest.java2268 void testCatchException(Class<?> returnType, Throwable thrown, int throwMode, int nargs) throws Throwable { argument
2269 testCatchException(returnType, thrown, throwMode, nargs, 0);
2272 testCatchException(returnType, thrown, throwMode, nargs, catchDrops);
2292 void testCatchException(Class<?> returnType, Throwable thrown, int throwMode, int nargs, int catchDrops) throws Throwable { argument
2296 Class<? extends Throwable> exType = thrown.getClass();
2297 if (throwMode > THROW_CAUGHT) thrown = new UnsupportedOperationException("do not catch this");
2315 Object arg1 = (throwMode == THROW_NOTHING) ? (Throwable) null : thrown;
2333 assertSame("must get the out-of-band exception", thrown, ex);
2347 catchArgs.add(0, thrown);
2362 void testThrowException(Class<?> returnType, Throwable thrown) throw argument
[all...]

Completed in 278 milliseconds