/cts/libs/vogar-expect/src/vogar/util/ |
LogOutput.java | 34 void info(String message, Throwable throwable);
|
Log.java | 56 public static void info(String message, Throwable throwable) { 58 sLogoutput.info(message, throwable);
|
Threads.java | 51 @Override protected void afterExecute(Runnable runnable, Throwable throwable) { if (throwable != null) { 52 Log.info("Unexpected failure from " + runnable, throwable);
|
/external/mockito/src/org/mockito/stubbing/ |
DeprecatedOngoingStubbing.java | 49 * Set a Throwable to be thrown when the stubbed method is called. E.g:
54 * If throwable is a checked exception then it has to
59 * @param throwable to be thrown on method invocation
63 DeprecatedOngoingStubbing<T> toThrow(Throwable throwable);
69 * public Integer answer(InvocationOnMock invocation) throws Throwable {
|
VoidMethodStubbable.java | 34 * If throwable is a checked exception then it has to
39 * @param throwable to be thrown on method invocation
43 VoidMethodStubbable<T> toThrow(Throwable throwable);
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
MessagingException.java | 78 public MessagingException(String message, Throwable throwable) { 79 this(UNSPECIFIED_EXCEPTION, message, throwable); 82 public MessagingException(int exceptionType, String message, Throwable throwable) { 83 super(message, throwable);
|
/packages/services/Telephony/src/com/android/phone/common/mail/ |
MessagingException.java | 77 public MessagingException(String message, Throwable throwable) { 78 this(UNSPECIFIED_EXCEPTION, message, throwable); 81 public MessagingException(int exceptionType, String message, Throwable throwable) { 82 super(message, throwable);
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
Vertex.java | 54 private Throwable throwable; field in class:Vertex 99 * return the throwable associated with this vertex; 102 * @returns Throwable 104 public Throwable getThrowable() { 105 return throwable; 109 * set throwable associated with this vertex; default value is null. 111 * @param throwable Throwable associated with this vertex 114 void setThrowable(Throwable throwable) [all...] |
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/ |
XLogger.java | 154 * @param throwable 157 public <T extends Throwable> T throwing(T throwable) { 159 ((LocationAwareLogger) logger).log(THROWING_MARKER, FQCN, LocationAwareLogger.ERROR_INT, "throwing", null, throwable); 161 return throwable; 169 * @param throwable 172 public <T extends Throwable> T throwing(Level level, T throwable) { 174 ((LocationAwareLogger) logger).log(THROWING_MARKER, FQCN, level.level, "throwing", null, throwable); 176 return throwable; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
RenderLogger.java | 45 private List<Throwable> mTraces; 71 public List<Throwable> getFirstTrace() { 141 public void error(String tag, String message, Throwable throwable, Object data) { 143 appendToIdeLog(throwable, IStatus.ERROR, description); 145 if (throwable != null) { 146 if (throwable instanceof ClassNotFoundException) { 157 if (description.equals(throwable.getLocalizedMessage()) || 158 description.equals(throwable.getMessage())) { 161 recordThrowable(throwable); [all...] |
/external/easymock/src/org/easymock/internal/ |
RecordState.java | 103 public void andThrow(Throwable throwable) {
104 requireMethodCall("Throwable");
105 requireValidThrowable(throwable);
109 lastResult = Result.createThrowResult(throwable);
172 public void andStubThrow(Throwable throwable) {
173 requireMethodCall("stub Throwable");
174 requireValidThrowable(throwable);
178 behavior.addStub(lastInvocation, Result.createThrowResult(throwable));
[all...] |
ReplayState.java | 36 public Object invoke(Invocation invocation) throws Throwable {
54 private Object invokeInner(Invocation invocation) throws Throwable {
60 } catch (Throwable t) {
99 public void andThrow(Throwable throwable) {
115 public void andStubThrow(Throwable throwable) {
149 public void setDefaultThrowable(Throwable throwable) {
|
Result.java | 36 public static Result createThrowResult(final Throwable throwable) {
41 public Object answer() throws Throwable {
42 throw throwable;
47 return "Answer throwing " + throwable;
58 public Object answer() throws Throwable {
75 public Object answer() throws Throwable {
102 public Object answer() throws Throwable {
|
/external/easymock/src/org/easymock/ |
IExpectationSetters.java | 37 * Sets a throwable that will be thrown for the expected invocation.
39 * @param throwable
40 * the throwable to throw.
43 IExpectationSetters<T> andThrow(Throwable throwable);
77 * Sets a stub throwable that will be thrown for the expected invocation.
79 * @param throwable
80 * the throwable to throw.
82 void andStubThrow(Throwable throwable);
[all...] |
/external/mockito/src/org/mockito/internal/stubbing/ |
VoidMethodStubbableImpl.java | 21 public VoidMethodStubbable<T> toThrow(Throwable throwable) {
22 invocationContainerImpl.addAnswerForVoidMethod(new ThrowsException(throwable));
|
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageManagerException.java | 38 public PackageManagerException(int error, String detailMessage, Throwable throwable) { 39 super(detailMessage, throwable);
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
BaseInstrumentationTestCase.java | 49 public void runTestOnUiThread(final Runnable r) throws Throwable { 50 final Throwable[] exceptions = new Throwable[1]; 55 } catch (Throwable throwable) { 56 exceptions[0] = throwable;
|
/packages/apps/Settings/src/com/android/settings/overlay/ |
FeatureFactory.java | 65 public FactoryNotFoundException(Throwable throwable) { 66 super("Unable to create factory. Did you misconfigure Proguard?", throwable);
|
/packages/apps/StorageManager/src/com/android/storagemanager/overlay/ |
FeatureFactory.java | 73 public FactoryNotFoundException(Throwable throwable) { 74 super("Unable to create factory. Did you misconfigure Proguard?", throwable);
|
/external/vogar/src/vogar/util/ |
Threads.java | 52 @Override protected void afterExecute(Runnable runnable, Throwable throwable) { 53 if (throwable != null) { 54 log.info("Unexpected failure from " + runnable, throwable);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
ReflectionUtils.java | 71 public static Throwable getCause(@NonNull Throwable throwable) { 72 Throwable cause = throwable.getCause(); 73 return cause == null ? throwable : cause; 89 public ReflectionException(String message, Throwable cause) { 93 public ReflectionException(Throwable cause) {
|
/libcore/ojluni/src/main/java/java/util/logging/ |
SimpleFormatter.java | 95 * the {@linkplain LogRecord#getThrown throwable} 114 * the log message ({@code 5$}) followed with the throwable 127 * the throwable and its backtrace: 152 String throwable = ""; local 159 throwable = sw.toString(); 167 throwable);
|
/external/guava/guava/src/com/google/common/io/ |
Closer.java | 51 * } catch (Throwable e) { 68 * <li>If a {@code Throwable} is thrown in the try block, no exceptions that occur when attempting 69 * to close resources will be thrown from the finally block. The throwable from the try block will 82 * be thrown using {@code Throwable.addSuppressed(Throwable)}.</li> 111 private Throwable thrown; 133 * Stores the given throwable and rethrows it. It will be rethrown as is if it is an 143 * @throws IOException when the given throwable is an IOException 145 public RuntimeException rethrow(Throwable e) throws IOException { 153 * Stores the given throwable and rethrows it. It will be rethrown as is if it is a 208 Throwable throwable = thrown; local [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
TestThread.java | 64 private Throwable uncaughtThrowable = null; 82 throw (AssertionFailedError) new AssertionFailedError("Uncaught throwable in " + getName()) 123 * type of throwable. 125 public void callAndAssertThrows(Class<? extends Throwable> expected, 248 } catch (Throwable throwable) { 249 responseQueue.put(new Response(request.methodName, null, throwable)); 258 } catch (Throwable uncaught) { 276 final Throwable throwable; field in class:TestThread.Response [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
FuncDocument.java | 283 catch (Throwable throwable) 286 // throwable.printStackTrace(); 290 while (throwable 293 throwable = 294 ((org.apache.xml.utils.WrappedRuntimeException) throwable).getException(); 297 if ((throwable instanceof NullPointerException) 298 || (throwable instanceof ClassCastException)) 301 (Exception) throwable); 307 if (throwable instanceof TransformerException [all...] |