Home
last modified time | relevance | path

Searched refs:cause (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/frameworks/base/keystore/java/android/security/
DKeyChainException.java51 public KeyChainException(String message, Throwable cause) { in KeyChainException() argument
52 super(message, cause); in KeyChainException()
62 public KeyChainException(Throwable cause) { in KeyChainException() argument
63 super((cause == null ? null : cause.toString()), cause); in KeyChainException()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipException.java30 public SipException(String message, Throwable cause) { in SipException() argument
32 super(message, ((cause instanceof javax.sip.SipException) in SipException()
33 && (cause.getCause() != null)) in SipException()
34 ? cause.getCause() in SipException()
35 : cause); in SipException()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DReflectionUtils.java72 Throwable cause = throwable.getCause(); in getCause() local
73 return cause == null ? throwable : cause; in getCause()
89 public ReflectionException(String message, Throwable cause) { in ReflectionException() argument
90 super(message, cause); in ReflectionException()
93 public ReflectionException(Throwable cause) { in ReflectionException() argument
94 super(cause); in ReflectionException()
/frameworks/base/core/java/android/hardware/camera2/utils/
DCameraRuntimeException.java29 public CameraRuntimeException(int problem, String message, Throwable cause) { in CameraRuntimeException() argument
30 super(message, cause); in CameraRuntimeException()
33 mCause = cause; in CameraRuntimeException()
36 public CameraRuntimeException(int problem, Throwable cause) { in CameraRuntimeException() argument
37 super(cause); in CameraRuntimeException()
39 mCause = cause; in CameraRuntimeException()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraUtilsRuntimeExceptionTest.java54 Throwable cause = new IllegalStateException("For great justice"); in testCameraRuntimeException3() local
56 CameraRuntimeException runtimeExc = new CameraRuntimeException(12345, cause); in testCameraRuntimeException3()
61 assertEquals(cause, e.getCause()); in testCameraRuntimeException3()
67 Throwable cause = new IllegalStateException("For great justice"); in testCameraRuntimeException4() local
69 CameraRuntimeException runtimeExc = new CameraRuntimeException(12345, "Hello", cause); in testCameraRuntimeException4()
74 assertEquals(cause, e.getCause()); in testCameraRuntimeException4()
/frameworks/base/core/java/android/accounts/
DOperationCanceledException.java25 public OperationCanceledException(String message, Throwable cause) { in OperationCanceledException() argument
26 super(message, cause); in OperationCanceledException()
28 public OperationCanceledException(Throwable cause) { in OperationCanceledException() argument
29 super(cause); in OperationCanceledException()
DNetworkErrorException.java25 public NetworkErrorException(String message, Throwable cause) { in NetworkErrorException() argument
26 super(message, cause); in NetworkErrorException()
28 public NetworkErrorException(Throwable cause) { in NetworkErrorException() argument
29 super(cause); in NetworkErrorException()
DAuthenticatorException.java26 public AuthenticatorException(String message, Throwable cause) { in AuthenticatorException() argument
27 super(message, cause); in AuthenticatorException()
29 public AuthenticatorException(Throwable cause) { in AuthenticatorException() argument
30 super(cause); in AuthenticatorException()
DAccountsException.java26 public AccountsException(String message, Throwable cause) { in AccountsException() argument
27 super(message, cause); in AccountsException()
29 public AccountsException(Throwable cause) { in AccountsException() argument
30 super(cause); in AccountsException()
DAccountManager.java1928 final Throwable cause = e.getCause();
1929 if (cause instanceof IOException) {
1930 throw (IOException) cause;
1931 } else if (cause instanceof UnsupportedOperationException) {
1932 throw new AuthenticatorException(cause);
1933 } else if (cause instanceof AuthenticatorException) {
1934 throw (AuthenticatorException) cause;
1935 } else if (cause instanceof RuntimeException) {
1936 throw (RuntimeException) cause;
1937 } else if (cause instanceof Error) {
[all …]
/frameworks/base/core/java/android/util/
DAndroidRuntimeException.java30 public AndroidRuntimeException(String name, Throwable cause) { in AndroidRuntimeException() argument
31 super(name, cause); in AndroidRuntimeException()
34 public AndroidRuntimeException(Exception cause) { in AndroidRuntimeException() argument
35 super(cause); in AndroidRuntimeException()
DAndroidException.java30 public AndroidException(String name, Throwable cause) { in AndroidException() argument
31 super(name, cause); in AndroidException()
34 public AndroidException(Exception cause) { in AndroidException() argument
35 super(cause); in AndroidException()
/frameworks/opt/telephony/src/java/com/google/android/mms/
DMmsException.java47 public MmsException(Throwable cause) { in MmsException() argument
48 super(cause); in MmsException()
57 public MmsException(String message, Throwable cause) { in MmsException() argument
58 super(message, cause); in MmsException()
/frameworks/base/core/java/android/content/
DOperationApplicationException.java34 public OperationApplicationException(String message, Throwable cause) { in OperationApplicationException() argument
35 super(message, cause); in OperationApplicationException()
38 public OperationApplicationException(Throwable cause) { in OperationApplicationException() argument
39 super(cause); in OperationApplicationException()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyExceptionUtils.java38 public BufferQueueAbandonedException(String name, Throwable cause) { in BufferQueueAbandonedException() argument
39 super(name, cause); in BufferQueueAbandonedException()
42 public BufferQueueAbandonedException(Exception cause) { in BufferQueueAbandonedException() argument
43 super(cause); in BufferQueueAbandonedException()
/frameworks/base/core/java/android/hardware/camera2/
DCameraAccessException.java121 public CameraAccessException(@AccessError int problem, String message, Throwable cause) { in CameraAccessException() argument
122 super(message, cause); in CameraAccessException()
126 public CameraAccessException(@AccessError int problem, Throwable cause) { in CameraAccessException() argument
127 super(getDefaultMessage(problem), cause); in CameraAccessException() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInformationRecords.java232 public byte cause; field in CdmaInformationRecords.CdmaT53ClirInfoRec
234 public CdmaT53ClirInfoRec(int cause) { in CdmaT53ClirInfoRec() argument
235 this.cause = (byte)cause; in CdmaT53ClirInfoRec()
241 " cause: " + cause + in toString()
/frameworks/base/telephony/java/android/telephony/
DDisconnectCause.java213 public static String toString(int cause) { in toString() argument
214 switch (cause) { in toString()
314 return "INVALID: " + cause; in toString()
/frameworks/volley/src/main/java/com/android/volley/
DNetworkError.java28 public NetworkError(Throwable cause) { in NetworkError() argument
29 super(cause); in NetworkError()
DParseError.java30 public ParseError(Throwable cause) { in ParseError() argument
31 super(cause); in ParseError()
/frameworks/base/core/java/android/os/
DBadParcelableException.java28 public BadParcelableException(Exception cause) { in BadParcelableException() argument
29 super(cause); in BadParcelableException()
/frameworks/base/core/java/android/database/
DSQLException.java30 public SQLException(String error, Throwable cause) { in SQLException() argument
31 super(error, cause); in SQLException()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/exceptions/
DTimeoutRuntimeException.java30 public TimeoutRuntimeException(String message, Throwable cause) { in TimeoutRuntimeException() argument
31 super(message, cause); in TimeoutRuntimeException()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteException.java32 public SQLiteException(String error, Throwable cause) { in SQLiteException() argument
33 super(error, cause); in SQLiteException()
/frameworks/base/keystore/java/android/security/keystore/
DKeyExpiredException.java44 public KeyExpiredException(String message, Throwable cause) { in KeyExpiredException() argument
45 super(message, cause); in KeyExpiredException()

12345678910>>...13