Home
last modified time | relevance | path

Searched refs:thrown (Results 1 – 25 of 133) sorted by relevance

123456

/external/jetty/src/java/org/eclipse/jetty/util/log/
DSlf4jLog.java62 public void warn(Throwable thrown) in warn() argument
64 warn("", thrown); in warn()
67 public void warn(String msg, Throwable thrown) in warn() argument
69 _logger.warn(msg, thrown); in warn()
77 public void info(Throwable thrown) in info() argument
79 info("", thrown); in info()
82 public void info(String msg, Throwable thrown) in info() argument
84 _logger.info(msg, thrown); in info()
92 public void debug(Throwable thrown) in debug() argument
94 debug("", thrown); in debug()
[all …]
DJavaUtilLog.java63 public void warn(Throwable thrown) in warn() argument
65 warn("", thrown); in warn()
68 public void warn(String msg, Throwable thrown) in warn() argument
70 _logger.log(Level.WARNING, msg, thrown); in warn()
78 public void info(Throwable thrown) in info() argument
80 info("", thrown); in info()
83 public void info(String msg, Throwable thrown) in info() argument
85 _logger.log(Level.INFO, msg, thrown); in info()
111 public void debug(Throwable thrown) in debug() argument
113 debug("", thrown); in debug()
[all …]
DLoggerLog.java90 public void warn(Throwable thrown) in warn() argument
92 warn("", thrown); in warn()
95 public void warn(String msg, Throwable thrown) in warn() argument
99 _warnMT.invoke(_logger, msg, thrown); in warn()
119 public void info(Throwable thrown) in info() argument
121 info("", thrown); in info()
124 public void info(String msg, Throwable thrown) in info() argument
128 _infoMT.invoke(_logger, msg, thrown); in info()
169 public void debug(Throwable thrown) in debug() argument
171 debug("", thrown); in debug()
DStdErrLog.java282 public void warn(Throwable thrown) in warn() argument
284 warn("",thrown); in warn()
287 public void warn(String msg, Throwable thrown) in warn() argument
292 format(buffer,":WARN:",msg,thrown); in warn()
307 public void info(Throwable thrown) in info() argument
309 info("",thrown); in info()
312 public void info(String msg, Throwable thrown) in info() argument
317 format(buffer,":INFO:",msg,thrown); in info()
389 public void debug(Throwable thrown) in debug() argument
391 debug("",thrown); in debug()
[all …]
DLogger.java42 public void warn(Throwable thrown); in warn() argument
49 public void warn(String msg, Throwable thrown); in warn() argument
62 public void info(Throwable thrown); in info() argument
69 public void info(String msg, Throwable thrown); in info() argument
93 public void debug(Throwable thrown); in debug() argument
100 public void debug(String msg, Throwable thrown); in debug() argument
/external/guava/guava/src/com/google/common/io/
DCloser.java110 private Throwable thrown; field in Closer
146 thrown = e; in rethrow()
168 thrown = e; in rethrow()
192 thrown = e; in rethrow()
207 Throwable throwable = thrown; in close()
223 if (thrown == null && throwable != null) { in close()
238 void suppress(Closeable closeable, Throwable thrown, Throwable suppressed); in suppress() argument
249 public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) { in suppress() argument
279 public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) { in suppress() argument
281 if (thrown == suppressed) { in suppress()
[all …]
/external/okhttp/okio/okio/src/main/java/okio/
DGzipSink.java89 Throwable thrown = null; in close()
94 thrown = e; in close()
100 if (thrown == null) thrown = e; in close()
106 if (thrown == null) thrown = e; in close()
110 if (thrown != null) Util.sneakyRethrow(thrown); in close()
DDeflaterSink.java128 Throwable thrown = null; in close()
132 thrown = e; in close()
138 if (thrown == null) thrown = e; in close()
144 if (thrown == null) thrown = e; in close()
148 if (thrown != null) Util.sneakyRethrow(thrown); in close()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
DGetValues004Test.java67 } catch ( Throwable thrown) { in testGetValues004()
69 logWriter.println("## Exception: " + thrown); in testGetValues004()
70 fail("Can not get anotherClassRefTypeID, Exception: " + thrown); in testGetValues004()
86 } catch ( Throwable thrown) { in testGetValues004()
88 logWriter.println("## Exception: " + thrown); in testGetValues004()
89 fail("Can not get anotherClassCheckedFieldID, Exception: " + thrown); in testGetValues004()
98 } catch ( Throwable thrown) { in testGetValues004()
100 logWriter.println("## Exception: " + thrown); in testGetValues004()
101 fail("Can not get debuggeeRefTypeID, Exception: " + thrown); in testGetValues004()
DGetValues003Test.java66 } catch ( Throwable thrown) { in testGetValues003()
68 logWriter.println("## Exception: " + thrown); in testGetValues003()
69 fail("Can not get debuggeeRefTypeID, Exception: " + thrown); in testGetValues003()
85 } catch ( Throwable thrown) { in testGetValues003()
87 logWriter.println("## Exception: " + thrown); in testGetValues003()
88 fail("Can not get superClassCheckedFieldID, Exception: " + thrown); in testGetValues003()
97 } catch ( Throwable thrown) { in testGetValues003()
99 logWriter.println("## Exception: " + thrown); in testGetValues003()
100 fail(" Can not get chekedClassRefTypeID, Exception: " + thrown); in testGetValues003()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java133 Throwable thrown = null; in closeAll() local
137 thrown = e; in closeAll()
142 if (thrown == null) thrown = e; in closeAll()
144 if (thrown == null) return; in closeAll()
145 if (thrown instanceof IOException) throw (IOException) thrown; in closeAll()
146 if (thrown instanceof RuntimeException) throw (RuntimeException) thrown; in closeAll()
147 if (thrown instanceof Error) throw (Error) thrown; in closeAll()
148 throw new AssertionError(thrown); in closeAll()
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/test/
DAbstractGroovyTest.groovy36 * @return the thrown Exception instance
38 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not…
44 } catch (Throwable thrown) {
45 actualException = thrown
47 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]"
57 * @return the message from the thrown Exception
59 * @throws AssertionError - if no exception is thrown by the code or if the thrown
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DRedefineClassesTest.java170 } catch (Throwable thrown) { in testRedefineClasses001()
174 logWriter.println("===> Exception is thrown: " + thrown); in testRedefineClasses001()
182 } catch (Throwable thrown) { in testRedefineClasses001()
186 logWriter.println("===> Exception is thrown: " + thrown); in testRedefineClasses001()
194 } catch (Throwable thrown) { in testRedefineClasses001()
198 logWriter.println("===> Exception is thrown: " + thrown); in testRedefineClasses001()
204 } catch (Throwable thrown) { in testRedefineClasses001()
208 logWriter.println("===> Exception is thrown: " + thrown); in testRedefineClasses001()
225 } catch (Throwable thrown) { in testRedefineClasses001()
230 logWriter.println("===> Exception is thrown: " + thrown); in testRedefineClasses001()
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/test/
DAbstractGroovyTest.groovy37 * @return the thrown Exception instance
39 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not…
45 } catch (Throwable thrown) {
46 actualException = thrown
48 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]"
58 * @return the message from the thrown Exception
60 * @throws AssertionError - if no exception is thrown by the code or if the thrown
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/test/
DAbstractGroovyTest.groovy37 * @return the thrown Exception instance
39 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not…
45 } catch (Throwable thrown) {
46 actualException = thrown
48 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]"
58 * @return the message from the thrown Exception
60 * @throws AssertionError - if no exception is thrown by the code or if the thrown
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/test/
DAbstractGroovyTest.groovy37 * @return the thrown Exception instance
39 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not…
45 } catch (Throwable thrown) {
46 actualException = thrown
48 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]"
58 * @return the message from the thrown Exception
60 * @throws AssertionError - if no exception is thrown by the code or if the thrown
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/test/
DAbstractGroovyTest.groovy37 * @return the thrown Exception instance
39 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not…
45 } catch (Throwable thrown) {
46 actualException = thrown
48 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]"
58 * @return the message from the thrown Exception
60 * @throws AssertionError - if no exception is thrown by the code or if the thrown
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/test/
DAbstractGroovyTest.groovy37 * @return the thrown Exception instance
39 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not…
45 } catch (Throwable thrown) {
46 actualException = thrown
48 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]"
58 * @return the message from the thrown Exception
60 * @throws AssertionError - if no exception is thrown by the code or if the thrown
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/test/
DAbstractGroovyTest.groovy37 * @return the thrown Exception instance
39 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not…
45 } catch (Throwable thrown) {
46 actualException = thrown
48 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]"
58 * @return the message from the thrown Exception
60 * @throws AssertionError - if no exception is thrown by the code or if the thrown
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/test/
DAbstractGroovyTest.groovy37 * @return the thrown Exception instance
39 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not…
45 } catch (Throwable thrown) {
46 actualException = thrown
48 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]"
58 * @return the message from the thrown Exception
60 * @throws AssertionError - if no exception is thrown by the code or if the thrown
/external/vogar/src/vogar/target/junit/
DJUnitRunner.java130 Throwable thrown; in runWithTimeout() local
132 thrown = timeoutSeconds == 0 in runWithTimeout()
142 thrown = e; in runWithTimeout()
144 thrown = e; in runWithTimeout()
147 if (thrown != null) { in runWithTimeout()
148 prepareForDisplay(thrown); in runWithTimeout()
149 thrown.printStackTrace(System.out); in runWithTimeout()
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/test/
DAbstractGroovyTestCase.groovy52 * @return the thrown Exception instance
54 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not…
60 } catch (Throwable thrown) {
61 actualException = thrown
63 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]"
73 * @return the message from the thrown Exception
75 * @throws AssertionError - if no exception is thrown by the code or if the thrown
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/test/
DAbstractGroovyTestCase.groovy52 * @return the thrown Exception instance
54 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not…
60 } catch (Throwable thrown) {
61 actualException = thrown
63 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]"
73 * @return the message from the thrown Exception
75 * @throws AssertionError - if no exception is thrown by the code or if the thrown
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/test/
DAbstractGroovyTestCase.groovy51 * @return the thrown Exception instance
53 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not…
59 } catch (Throwable thrown) {
60 actualException = thrown
62 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]"
72 * @return the message from the thrown Exception
74 * @throws AssertionError - if no exception is thrown by the code or if the thrown
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/test/
DAbstractGroovyTestCase.groovy51 * @return the thrown Exception instance
53 …* @throws AssertionError - if no exception is thrown by the code or if the thrown exception is not…
59 } catch (Throwable thrown) {
60 actualException = thrown
62 … assert actualException, "No exception thrown. Expected [${expectedExceptionClass.getName()}]"
72 * @return the message from the thrown Exception
74 * @throws AssertionError - if no exception is thrown by the code or if the thrown

123456