/external/junit/src/org/junit/internal/runners/ |
ErrorReportingRunner.java | 14 private final List<Throwable> fCauses; 18 public ErrorReportingRunner(Class<?> testClass, Throwable cause) { 26 for (Throwable each : fCauses) 33 for (Throwable each : fCauses) 38 private List<Throwable> getCauses(Throwable cause) { 49 private Description describeCause(Throwable child) { 54 private void runCause(Throwable child, RunNotifier notifier) {
|
/external/junit/src/org/junit/internal/runners/model/ |
ReflectiveCallable.java | 13 public Object run() throws Throwable { 21 protected abstract Object runReflectiveCall() throws Throwable;
|
/external/junit/src/org/junit/runners/model/ |
Statement.java | 13 * Run the action, throwing a {@code Throwable} if anything goes wrong. 15 public abstract void evaluate() throws Throwable;
|
MultipleFailureException.java | 10 * Collects multiple {@code Throwable}s into one exception. 15 private final List<Throwable> fErrors; 17 public MultipleFailureException(List<Throwable> errors) { 18 fErrors= new ArrayList<Throwable>(errors); 21 public List<Throwable> getFailures() { 29 for (Throwable e : fErrors) { 42 * @throws Throwable if the list is not empty 45 public static void assertEmpty(List<Throwable> errors) throws Throwable {
|
InitializationError.java | 11 private final List<Throwable> fErrors; 17 public InitializationError(List<Throwable> errors) { 21 public InitializationError(Throwable error) { 36 public List<Throwable> getCauses() {
|
/cts/tests/src/android/os/cts/ |
TestThread.java | 24 private Throwable mThrowable; 35 } catch (Throwable t) { 45 * @throws Throwable 47 public void runTest(long runTime) throws Throwable { 53 * Get the Throwable object which is thrown when test running 54 * @return The Throwable object 56 public Throwable getThrowable() { 61 * Set the Throwable object which is thrown when test running 62 * @param t The Throwable object 64 public void setThrowable(Throwable t) [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/common/ |
ProcessInitException.java | 24 * @param throwable The wrapped throwable obj. 26 public ProcessInitException(int errorCode, Throwable throwable) { 27 super(null, throwable);
|
/external/junit/src/org/junit/internal/runners/statements/ |
RunAfters.java | 27 public void evaluate() throws Throwable { 28 List<Throwable> errors = new ArrayList<Throwable>(); 31 } catch (Throwable e) { 37 } catch (Throwable e) {
|
/libcore/luni/src/main/java/java/lang/ |
Error.java | 26 * @see Throwable 30 public class Error extends Throwable { 57 * @param throwable 60 public Error(String detailMessage, Throwable throwable) { 61 super(detailMessage, throwable); 68 * @param throwable 71 public Error(Throwable throwable) { 72 super(throwable); [all...] |
Exception.java | 26 * @see Throwable 30 public class Exception extends Throwable { 56 * @param throwable 59 public Exception(String detailMessage, Throwable throwable) { 60 super(detailMessage, throwable); 67 * @param throwable 70 public Exception(Throwable throwable) { 71 super(throwable); [all...] |
Throwable.java | 35 * circumstances in which the {@code Throwable} was created (basically an error 39 * <p>A {@code Throwable} can also include a cause, which is a nested {@code 40 * Throwable} that represents the original problem that led to this {@code 41 * Throwable}. It is often used for wrapping various types of errors into a 42 * common {@code Throwable} without losing the detailed original error 50 public class Throwable implements java.io.Serializable { 59 * The cause of this Throwable. Null when there is no cause. 61 private Throwable cause = this; 64 * Throwables suppressed by this throwable. Null when suppressed exceptions 67 private List<Throwable> suppressedExceptions = Collections.emptyList() [all...] |
ClassNotFoundException.java | 27 private Throwable ex; 34 super((Throwable) null); 58 public ClassNotFoundException(String detailMessage, Throwable exception) { 66 * @return Throwable the exception which occurred while loading the class. 68 public Throwable getException() { 73 * Returns the cause of this Throwable, or {@code null} if there is no 76 * @return Throwable the receiver's cause. 79 public Throwable getCause() {
|
RuntimeException.java | 55 * @param throwable 58 public RuntimeException(String detailMessage, Throwable throwable) { 59 super(detailMessage, throwable); 66 * @param throwable 69 public RuntimeException(Throwable throwable) { 70 super(throwable);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ThrowableTest.java | 28 * @tests java.lang.Throwable#Throwable() 31 Throwable e = new Throwable(); 38 * @tests java.lang.Throwable#Throwable(java.lang.String) 41 Throwable e = new Throwable("fixture"); 47 * @tests java.lang.Throwable#fillInStackTrace() 50 // Test for method java.lang.Throwable [all...] |
RuntimeExceptionTest.java | 44 * @tests {@link java.lang.RuntimeException#RuntimeException(Throwable)} 47 Throwable emptyThrowable = new Exception(); 53 Throwable throwable = new Exception("msg"); local 54 RuntimeException exception = new RuntimeException(throwable); 55 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage()); 56 assertEquals(throwable.getClass().getName(), emptyException.getLocalizedMessage()); 57 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString());
|
/external/junit/src/org/junit/experimental/max/ |
CouldNotReadCoreException.java | 12 public CouldNotReadCoreException(Throwable e) {
|
/external/mockito/src/org/mockito/internal/invocation/realmethod/ |
RealMethod.java | 10 Object invoke(Object target, Object[] arguments) throws Throwable;
|
/external/mockito/src/org/mockito/internal/junit/ |
JUnitTool.java | 17 } catch (Throwable t) {
29 AssertionError throwable = (AssertionError) clazz.getConstructors()[0].newInstance(message, wanted, actual);
local 30 return throwable;
31 } catch (Throwable t) {
|
/external/nist-sip/java/javax/sip/header/ |
TooManyHopsException.java | 12 public TooManyHopsException(String message, Throwable cause) {
|
/art/runtime/mirror/ |
throwable.h | 29 // C++ mirror of java.lang.Throwable 30 class MANAGED Throwable : public Object { 33 SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Throwable, detail_message_), new_detail_message, false); 36 return GetFieldObject<String*>(OFFSET_OF_OBJECT_MEMBER(Throwable, detail_message_), false); 43 void SetCause(Throwable* cause) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 56 return GetFieldObject<Object*>(OFFSET_OF_OBJECT_MEMBER(Throwable, stack_state_), true); 60 Throwable* cause_; 69 DISALLOW_IMPLICIT_CONSTRUCTORS(Throwable);
|
throwable.cc | 17 #include "throwable.h" 33 Class* Throwable::java_lang_Throwable_ = NULL; 35 void Throwable::SetCause(Throwable* cause) { 38 Throwable* current_cause = GetFieldObject<Throwable*>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), 41 SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause, false); 44 bool Throwable::IsCheckedException() const { 51 std::string Throwable::Dump() const [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
InvalidPropertiesFormatExceptionTest.java | 40 * @tests {@link java.util.InvalidPropertiesFormatException#InvalidPropertiesFormatException(Throwable)} 43 Throwable throwable = new Throwable(); local 45 throwable); 47 throwable, exception.getCause());
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
LoadLocaleProviderTestHelper.java | 24 private Throwable throwable; field in class:LoadLocaleProviderTestHelper 35 public Throwable getThrowable() { 36 return throwable; 42 } catch (Throwable t) { 43 throwable = t;
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiObjectNotFoundException.java | 38 public UiObjectNotFoundException(String detailMessage, Throwable throwable) { 39 super(detailMessage, throwable); 45 public UiObjectNotFoundException(Throwable throwable) { 46 super(throwable);
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorTestOperation.java | 45 public synchronized void start() throws Throwable { 55 } catch (Throwable e) { 67 public synchronized void waitForCompletion() throws Throwable { 87 public void execute() throws Throwable { 101 protected abstract void doWork() throws Throwable; 109 private Throwable mThrowable; 112 public void uncaughtException(Thread thread, Throwable throwable) { 118 mThrowable = throwable; 122 public void rethrow() throws Throwable { 123 Throwable throwable; local [all...] |