Searched refs:cause (Results 251 - 275 of 581) sorted by relevance

<<11121314151617181920>>

/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/
H A DMathInternalError.java44 * @param cause root cause
46 public MathInternalError(final Throwable cause) { argument
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DSQLClientInfoExceptionTest.java78 Throwable cause = new RuntimeException("Message");
80 failedProperties, cause);
84 "The reason of SQLClientInfoException should be equals to cause.toString()",
93 "The cause of SQLClientInfoException set and get should be equivalent",
94 cause, sqlClientInfoException.getCause());
140 Throwable cause = new RuntimeException("Message");
142 "Message", failedProperties, cause);
154 "The cause of SQLClientInfoException set and get should be equivalent",
155 cause, sqlClientInfoException.getCause());
190 Throwable cause
[all...]
/external/nist-sip/java/javax/sip/header/
H A DReasonHeader.java10 void setCause(int cause) throws InvalidArgumentException; argument
/external/testng/src/main/java/org/testng/
H A DTimeBombSkipException.java98 * @param cause the cause (which is saved for later retrieval by the
100 * permitted, and indicates that the cause is nonexistent or
103 public TimeBombSkipException(String msg, Date expirationDate, Throwable cause) { argument
104 super(msg, cause);
114 * @param cause the cause (which is saved for later retrieval by the
116 * permitted, and indicates that the cause is nonexistent or
119 public TimeBombSkipException(String msg, Date expirationDate, String format, Throwable cause) { argument
120 super(msg, cause);
136 TimeBombSkipException(String msg, String date, Throwable cause) argument
153 TimeBombSkipException(String msg, String date, String format, Throwable cause) argument
170 TimeBombSkipException(String msg, String date, String inFormat, String outFormat, Throwable cause) argument
[all...]
/external/autotest/server/cros/network/rf_switch/
H A Dscpi.py24 def __init__(self, msg=None, cause=None):
28 if cause:
30 type(cause).__name__, str(cause)))
64 raise ScpiException(cause=e), None, sys.exc_info()[2]
/external/libcxxabi/src/
H A Dcxa_default_handlers.cpp23 static const char* cause = "uncaught"; variable
65 cause, name, e->what());
70 cause, name);
74 abort_message("terminating with %s foreign exception", cause);
84 cause = "unexpected";
/external/valgrind/none/tests/
H A Dioctl_moans.stderr.exp2 This could cause spurious value errors to appear.
5 This could cause spurious value errors to appear.
8 This could cause spurious value errors to appear.
11 This could cause spurious value errors to appear.
14 This could cause spurious value errors to appear.
17 This could cause spurious value errors to appear.
20 This could cause spurious value errors to appear.
23 This could cause spurious value errors to appear.
26 This could cause spurious value errors to appear.
29 This could cause spuriou
[all...]
/external/caliper/caliper/src/main/java/com/google/caliper/util/
H A DParsers.java87 Throwable cause = e.getCause();
88 String desc = firstNonNull(cause.getMessage(), cause.getClass().getSimpleName());
89 throw newParseException(desc, cause);
98 public static ParseException newParseException(String message, Throwable cause) { argument
100 pe.initCause(cause);
/external/emma/core/java12/com/vladium/util/exception/
H A DAbstractException.java94 * Constructs an exception with null message and null cause.
103 * Constructs an exception with given error message/code and null cause.
115 * Constructs an exception with given error message/code and null cause.
130 * Constructs an exception with null error message/code and given cause.
132 * @param cause the cause [nested exception] [can be null]
134 public AbstractException (final Throwable cause) argument
137 m_cause = cause;
142 * Constructs an exception with given error message/code and given cause.
145 * @param cause th
147 AbstractException(final String message, final Throwable cause) argument
163 AbstractException(final String message, final Object [] arguments, final Throwable cause) argument
[all...]
H A DAbstractRuntimeException.java94 * Constructs an exception with null message and null cause.
103 * Constructs an exception with given error message/code and null cause.
115 * Constructs an exception with given error message/code and null cause.
130 * Constructs an exception with null error message/code and given cause.
132 * @param cause the cause [nested exception] [can be null]
134 public AbstractRuntimeException (final Throwable cause) argument
137 m_cause = cause;
142 * Constructs an exception with given error message/code and given cause.
145 * @param cause th
147 AbstractRuntimeException(final String message, final Throwable cause) argument
163 AbstractRuntimeException(final String message, final Object [] arguments, final Throwable cause) argument
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DSimpleTimeLimiter.java149 Throwable cause = e.getCause();
150 if (cause == null) {
154 StackTraceElement[] combined = ObjectArrays.concat(cause.getStackTrace(),
156 cause.setStackTrace(combined);
158 if (cause instanceof Exception) {
159 throw (Exception) cause;
161 if (cause instanceof Error) {
162 throw (Error) cause;
164 // The cause is a weird kind of Throwable, so throw the outer exception.
/external/javassist/src/main/javassist/
H A DCannotCompileException.java27 * Gets the cause of this throwable.
35 * Initializes the cause of this throwable.
38 public synchronized Throwable initCause(Throwable cause) { argument
39 myCause = cause;
68 * representing the cause.
70 * @param e the cause.
80 * and an <code>Exception</code> representing the cause.
83 * @param e the cause.
/external/jsilver/src/com/google/clearsilver/jsilver/exceptions/
H A DJSilverAutoEscapingException.java55 public JSilverAutoEscapingException(String message, Throwable cause) { argument
56 super(message, cause);
/external/junit/src/main/java/org/junit/internal/
H A DArrayComparisonFailure.java29 * @param cause the exception that caused the array's content to fail the assertion test
33 public ArrayComparisonFailure(String message, AssertionError cause, int index) { argument
35 initCause(cause);
/external/testng/src/main/java/org/testng/internal/junit/
H A DArrayComparisonFailure.java20 * @param cause the exception that caused the array's content to fail the assertion test
23 public ArrayComparisonFailure(String message, AssertionError cause, int index) { argument
25 fCause= cause;
/external/dagger2/producers/src/test/java/dagger/producers/
H A DProducedTest.java41 RuntimeException cause = new RuntimeException("monkey");
43 Produced.failed(cause).get();
46 assertThat(e.getCause()).isSameAs(cause);
/external/vogar/src/vogar/target/junit/
H A DParentRunnerHelper.java52 // If this exception has a cause then the test failed, otherwise it passed.
53 Throwable cause = e.getCause();
54 if (cause != null) {
55 // The test failed so treat the cause as a normal failure.
56 eachNotifier.addFailure(cause);
/external/vogar/src/vogar/target/junit/junit3/
H A DAlternateSuiteMethodBuilder.java79 // Unwrap the cause if it is an InitializationError so that meaningful errors are
81 Throwable cause = e.getCause();
82 if (cause instanceof InitializationError) {
83 throw (InitializationError) cause;
/external/jarjar/src/main/com/tonicsystems/jarjar/
H A DMainUtil.java39 Throwable cause = e.getCause();
40 if (cause instanceof IllegalArgumentException) {
41 System.err.println("Syntax error: " + cause.getMessage());
42 } else if (cause instanceof Exception) {
43 throw (Exception) cause;
/external/okhttp/okio/okio/src/main/java/okio/
H A DAsyncTimeout.java254 * Returns either {@code cause} or an IOException that's caused by
255 * {@code cause} if a timeout occurred. See
259 final IOException exit(IOException cause) throws IOException { argument
260 if (!exit()) return cause;
261 return newTimeoutException(cause);
266 * {@link java.io.InterruptedIOException}. If {@code cause} is non-null it is set as the cause of
269 protected IOException newTimeoutException(IOException cause) { argument
271 if (cause != null) {
272 e.initCause(cause);
[all...]
/external/guava/guava/src/com/google/common/base/
H A DThrowables.java164 * Returns the innermost cause of {@code throwable}. The first throwable in a
173 Throwable cause;
174 while ((cause = throwable.getCause()) != null) {
175 throwable = cause;
181 * Gets a {@code Throwable} cause chain as a list. The first entry in the
182 * list will be {@code throwable} followed by its cause hierarchy. Note
183 * that this is a snapshot of the cause chain and will not reflect
184 * any subsequent changes to the cause chain.
187 * of exceptions in the cause chain:
194 * @return an unmodifiable list containing the cause chai
[all...]
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
H A DTypeCachingBytecodeGenerator.java41 Throwable cause = exception.getCause();
42 if (cause instanceof RuntimeException) {
43 throw (RuntimeException) cause;
/external/testng/src/main/java/org/testng/xml/
H A DXMLParser.java75 Throwable cause= null;
81 cause= fcerr;
86 throw new TestNGException("Cannot initialize a SAXParserFactory\n" + errorLog.toString(), cause);
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/events/
H A DCombinedEventsManager.java171 final Throwable cause = se.getCause();
172 if ((cause != null) && (cause instanceof DerivativeException)) {
173 throw (DerivativeException) cause;
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
H A DDexBackedOdexFile.java112 public NotAnOdexFile(Throwable cause) { argument
113 super(cause);
120 public NotAnOdexFile(String message, Throwable cause) { argument
121 super(message, cause);

Completed in 747 milliseconds

<<11121314151617181920>>