Searched defs:exception (Results 1 - 21 of 21) sorted by relevance

/packages/apps/Mms/src/com/android/mms/util/
H A DItemLoadedCallback.java26 * and {@code exception} should be non-null.
31 void onItemLoaded(T result, Throwable exception); argument
/packages/services/Mms/src/com/android/mms/service/exception/
H A DApnException.java17 package com.android.mms.service.exception;
20 * APN exception
H A DMmsHttpException.java17 package com.android.mms.service.exception;
20 * HTTP exception
H A DMmsNetworkException.java17 package com.android.mms.service.exception;
20 * MMS network exception
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DSqlInjectionDetectionTest.java103 private <T extends Exception> void assertQueryThrows(Class<T> exception, final Uri uri, argument
105 assertThrows(exception, new Runnable() {
H A DEvenMoreAsserts.java39 public static <T extends Exception> void assertThrows(Class<T> exception, Runnable r) { argument
40 assertThrows(null, exception, r);
43 public static <T extends Exception> void assertThrows(String message, Class<T> exception, argument
51 if (!exception.isInstance(caught)) {
52 Assert.fail(appendUserMessage("Exception " + exception + " expected but " +
58 "Exception " + exception + " expected but no exception was thrown.",
/packages/apps/Mms/src/com/android/mms/transaction/
H A DHttpUtils.java292 private static void handleHttpConnectionException(Exception exception, String url) argument
294 // Inner exception should be logged to make life easier.
295 Log.e(TAG, "Url: " + url + "\n" + exception.getMessage());
296 IOException e = new IOException(exception.getMessage());
297 e.initCause(exception);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DContentProviderTask.java51 public final Exception exception; field in class:ContentProviderTask.Result
56 * @param exception
59 private Result(Exception exception, ContentProviderResult[] results) { argument
60 this.exception = exception;
88 LogUtils.w(LOG_TAG, e, "exception executing ContentProviderOperationsTask");
/packages/services/Telephony/src/com/android/phone/
H A DTimeConsumingPreferenceActivity.java20 public void onException(Preference preference, CommandException exception); argument
179 public void onException(Preference preference, CommandException exception) { argument
180 if (exception.getCommandError() == CommandException.Error.FDN_CHECK_FAILURE) {
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMnsObexClient.java376 private void handleSendException(String exception) { argument
377 Log.e(TAG, "Error when sending event: " + exception);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppObexClientSession.java543 private void handleSendException(String exception) { argument
544 Log.e(TAG, "Error when sending file: " + exception);
/packages/apps/Mms/src/com/android/mms/ui/
H A DMessageItem.java302 public void onItemLoaded(Object result, Throwable exception) { argument
303 if (exception != null) {
304 Log.e(TAG, "PduLoadedMessageItemCallback PDU couldn't be loaded: ", exception);
H A DMessageListItem.java440 public void onItemLoaded(ImageLoaded imageLoaded, Throwable exception) { argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DContact.java103 private Contact(Uri requestedUri, Contact.Status status, Exception exception) { argument
104 if (status == Status.ERROR && exception == null) {
105 throw new IllegalArgumentException("ERROR result must have exception");
108 mException = exception;
132 public static Contact forError(Uri requestedUri, Exception exception) { argument
133 return new Contact(requestedUri, Status.ERROR, exception);
276 * @return true when an exception happened during loading, in which case
277 * {@link #getException} returns the actual exception object.
/packages/apps/Dialer/src/com/android/dialer/voicemail/
H A DVoicemailPlaybackPresenter.java323 public void onPostExecute(Exception exception) {
324 if (exception == null) {
327 mView.playbackError(exception);
462 public void onPostExecute(Exception exception) { argument
464 if (exception == null) {
488 handleError(exception);
/packages/apps/LegacyCamera/src/com/android/camera/
H A DEffectsRecorder.java300 public void onEffectsError(Exception exception, String filePath); argument
870 private void raiseError(final Exception exception) { argument
875 mEffectsListener.onEffectsError(exception, null);
877 mEffectsListener.onEffectsError(exception, mOutputFile);
H A DVideoCamera.java1236 } catch (RuntimeException exception) {
2045 public synchronized void onEffectsError(Exception exception, String fileName) { argument
2051 if (exception instanceof MediaRecorderStopException) {
2055 throw new RuntimeException("Error during recording!", exception);
/packages/apps/Calculator/
H A Darity-2.1.2.jar ... Object { private final org.javia.arity.SyntaxException exception private final org.javia.arity.Lexer lexer ...
/packages/apps/Camera/src/com/android/camera/
H A DEffectsRecorder.java477 public void onEffectsError(Exception exception, String filePath); argument
977 // stopRecording call. Else, the effects may throw an exception.
1148 private void raiseError(final Exception exception) { argument
1154 mEffectsListener.onEffectsError(exception, null);
1156 mEffectsListener.onEffectsError(exception, mOutputFile);
H A DVideoModule.java1226 } catch (RuntimeException exception) {
2087 public synchronized void onEffectsError(Exception exception, String fileName) { argument
2095 .isInstance(exception)) {
2102 throw new RuntimeException("Error during recording!", exception);
/packages/services/Telecomm/libs/
H A Dguava.jar ... .base.Function mapper protected java.lang.Exception mapException (java.lang.Exception) Exception e } com/google ...

Completed in 800 milliseconds