diff options
author | Ying Wang <wangying@google.com> | 2011-03-01 12:29:05 -0800 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2011-03-01 12:29:05 -0800 |
commit | c28bf353190eb576072a8fd2f98821424144876e (patch) | |
tree | abd5f7630209491f7c825cdee8776642129d08d2 /emailcommon/src/com/android/emailcommon/mail/AuthenticationFailedException.java | |
parent | 4feb5c871b3fea733d8671058eb69b5d959cb7e9 (diff) | |
download | android_packages_apps_Email-c28bf353190eb576072a8fd2f98821424144876e.tar.gz android_packages_apps_Email-c28bf353190eb576072a8fd2f98821424144876e.tar.bz2 android_packages_apps_Email-c28bf353190eb576072a8fd2f98821424144876e.zip |
Split out emailcommon/Android.mk
Change-Id: I90653e8601ee3ee6a8719d87ffb93222a11a22c0
Diffstat (limited to 'emailcommon/src/com/android/emailcommon/mail/AuthenticationFailedException.java')
-rw-r--r-- | emailcommon/src/com/android/emailcommon/mail/AuthenticationFailedException.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/emailcommon/src/com/android/emailcommon/mail/AuthenticationFailedException.java b/emailcommon/src/com/android/emailcommon/mail/AuthenticationFailedException.java new file mode 100644 index 000000000..af8d96c09 --- /dev/null +++ b/emailcommon/src/com/android/emailcommon/mail/AuthenticationFailedException.java @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2008 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.android.emailcommon.mail; + + +public class AuthenticationFailedException extends MessagingException { + public static final long serialVersionUID = -1; + + public AuthenticationFailedException(String message) { + super(MessagingException.AUTHENTICATION_FAILED, message); + } + + public AuthenticationFailedException(int exceptionType, String message) { + super(exceptionType, message); + } + + public AuthenticationFailedException(String message, Throwable throwable) { + super(MessagingException.AUTHENTICATION_FAILED, message, throwable); + } +} |