Searched refs:cause (Results 1 - 25 of 47) sorted by path

12

/frameworks/base/core/java/android/accounts/
H A DAccountManager.java1509 final Throwable cause = e.getCause();
1510 if (cause instanceof IOException) {
1511 throw (IOException) cause;
1512 } else if (cause instanceof UnsupportedOperationException) {
1513 throw new AuthenticatorException(cause);
1514 } else if (cause instanceof AuthenticatorException) {
1515 throw (AuthenticatorException) cause;
1516 } else if (cause instanceof RuntimeException) {
1517 throw (RuntimeException) cause;
1518 } else if (cause instanceo
[all...]
H A DAccountsException.java26 public AccountsException(String message, Throwable cause) { argument
27 super(message, cause);
29 public AccountsException(Throwable cause) { argument
30 super(cause);
H A DAuthenticatorException.java26 public AuthenticatorException(String message, Throwable cause) { argument
27 super(message, cause);
29 public AuthenticatorException(Throwable cause) { argument
30 super(cause);
H A DNetworkErrorException.java25 public NetworkErrorException(String message, Throwable cause) { argument
26 super(message, cause);
28 public NetworkErrorException(Throwable cause) { argument
29 super(cause);
H A DOperationCanceledException.java25 public OperationCanceledException(String message, Throwable cause) { argument
26 super(message, cause);
28 public OperationCanceledException(Throwable cause) { argument
29 super(cause);
/frameworks/base/core/java/android/app/
H A DApplicationErrorReport.java334 // Populate fields with the "root cause" exception
414 public String cause; field in class:ApplicationErrorReport.AnrInfo
432 cause = in.readString();
441 dest.writeString(cause);
450 pw.println(prefix + "cause: " + cause);
H A DFragment.java530 public InstantiationException(String msg, Exception cause) { argument
531 super(msg, cause);
H A DPendingIntent.java137 public CanceledException(Exception cause) { argument
138 super(cause);
/frameworks/base/core/java/android/content/
H A DIntentSender.java76 public SendIntentException(Exception cause) { argument
77 super(cause);
H A DOperationApplicationException.java34 public OperationApplicationException(String message, Throwable cause) { argument
35 super(message, cause);
38 public OperationApplicationException(Throwable cause) { argument
39 super(cause);
/frameworks/base/core/java/android/database/
H A DSQLException.java30 public SQLException(String error, Throwable cause) { argument
31 super(error, cause);
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteException.java32 public SQLiteException(String error, Throwable cause) { argument
33 super(error, cause);
/frameworks/base/core/java/android/net/http/
H A DConnection.java442 Throwable cause = e.getCause();
443 error = cause != null ? cause.toString() : e.getMessage();
/frameworks/base/core/java/android/os/
H A DBadParcelableException.java28 public BadParcelableException(Exception cause) { argument
29 super(cause);
H A DProcess.java37 ZygoteStartFailedEx(Throwable cause) {super(cause);} argument
759 * Call with 'false' to cause future calls to {@link #setThreadPriority(int)} to
/frameworks/base/core/java/android/util/
H A DAndroidException.java30 public AndroidException(String name, Throwable cause) { argument
31 super(name, cause);
34 public AndroidException(Exception cause) { argument
35 super(cause);
H A DAndroidRuntimeException.java30 public AndroidRuntimeException(String name, Throwable cause) { argument
31 super(name, cause);
34 public AndroidRuntimeException(Exception cause) { argument
35 super(cause);
H A DLog.java89 TerribleFailure(String msg, Throwable cause) { super(msg, cause); } argument
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteInit.java100 * the assumption that they will then cause the VM instance to exit.
235 * Most classes only cause a few hundred bytes to be allocated, but
741 Throwable cause = ex.getCause();
742 if (cause instanceof RuntimeException) {
743 throw (RuntimeException) cause;
744 } else if (cause instanceof Error) {
745 throw (Error) cause;
/frameworks/base/keystore/java/android/security/
H A DKeyChainException.java44 * trace, the specified detail message and the specified cause.
48 * @param cause
49 * the cause of this exception, may be {@code null}.
51 public KeyChainException(String message, Throwable cause) { argument
52 super(message, cause);
57 * trace and the specified cause.
59 * @param cause
60 * the cause of this exception, may be {@code null}.
62 public KeyChainException(Throwable cause) { argument
63 super((cause
[all...]
/frameworks/base/services/common_time/
H A Dcommon_time_server.cpp1185 const char* cause) {
1194 stateToString(mState), cause,
1235 bool CommonTimeServer::becomeMaster(const char* cause) { argument
1254 stateToString(mState), cause,
1270 bool CommonTimeServer::becomeRonin(const char* cause) { argument
1289 stateToString(mState), cause,
1303 stateToString(mState), cause,
1314 bool CommonTimeServer::becomeWaitForElection(const char* cause) { argument
1318 stateToString(mState), cause, kWaitForElection_TimeoutMs);
1325 bool CommonTimeServer::becomeInitial(const char* cause) { argument
1181 becomeClient(const sockaddr_storage& masterEP, uint64_t masterDeviceID, uint8_t masterDevicePriority, uint64_t timelineID, const char* cause) argument
[all...]
H A Dcommon_time_server.h146 const char* cause);
147 bool becomeMaster(const char* cause);
148 bool becomeRonin(const char* cause);
149 bool becomeWaitForElection(const char* cause);
150 bool becomeInitial(const char* cause);
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java8698 // could cause a potential deadlock, if and when watchdog
8978 report.anrInfo.cause = r.notRespondingReport.shortMsg;
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java50 public FormatException(String msg, Throwable cause) { argument
51 super(msg, cause);
/frameworks/opt/mms/src/java/com/google/android/mms/
H A DMmsException.java43 * Creates a new MmsException with the specified cause.
45 * @param cause the cause.
47 public MmsException(Throwable cause) { argument
48 super(cause);
52 * Creates a new MmsException with the specified detail message and cause.
55 * @param cause the cause.
57 public MmsException(String message, Throwable cause) { argument
58 super(message, cause);
[all...]

Completed in 613 milliseconds

12