1b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin/* 2b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * Copyright (C) 2018 The Android Open Source Project 3b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * 4b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * Licensed under the Apache License, Version 2.0 (the "License"); 5b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * you may not use this file except in compliance with the License. 6b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * You may obtain a copy of the License at 7b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * 8b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * http://www.apache.org/licenses/LICENSE-2.0 9b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * 10b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * Unless required by applicable law or agreed to in writing, software 11b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * distributed under the License is distributed on an "AS IS" BASIS, 12b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * See the License for the specific language governing permissions and 14b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * limitations under the License. 15b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin */ 16b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin 17b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yinpackage com.android.internal.telephony.uicc.euicc; 18b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin 19b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin/** 20b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * The base exception class of all exceptions thrown by the methods of an {@link EuiccCard} 21b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin * instance. 22b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin */ 23b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yinpublic class EuiccCardException extends Exception { 24b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin public EuiccCardException() {} 25b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin 26b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin public EuiccCardException(String message) { 27b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin super(message); 28b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin } 29b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin 30b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin public EuiccCardException(String message, Throwable throwable) { 31b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin super(message, throwable); 32b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin } 33b2f5a5654299f65bd91e7f478c46f629e9416939Jun Yin} 34