1ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung/* 2ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung * Copyright (C) 2015 The Android Open Source Project 3ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung * 4ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung * Licensed under the Apache License, Version 2.0 (the "License"); 5ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung * you may not use this file except in compliance with the License. 6ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung * You may obtain a copy of the License at 7ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung * 8ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung * http://www.apache.org/licenses/LICENSE-2.0 9ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung * 10ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung * Unless required by applicable law or agreed to in writing, software 11ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung * distributed under the License is distributed on an "AS IS" BASIS, 12ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung * See the License for the specific language governing permissions and 14ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung * limitations under the License. 15ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung */ 16ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung 17e54ac276796c6535558f8444d882adecd19ce2bdKeun-young Parkpackage android.car; 18ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung 19ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung 20ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung/** 21ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung * Exception thrown when car is not supporting the requested operation. 22ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung */ 23ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoungpublic class CarNotSupportedException extends Exception { 24ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung private static final long serialVersionUID = -8120487541467522808L; 25ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung 26ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung public CarNotSupportedException() { 27ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung } 28ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung 29ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung public CarNotSupportedException(String name) { 30ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung super(name); 31ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung } 32ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung 33ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung public CarNotSupportedException(String name, Throwable cause) { 34ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung super(name, cause); 35ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung } 36ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung 37ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung public CarNotSupportedException(Exception cause) { 38ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung super(cause); 39ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung } 40ca515079e9fc0c35b1498830f67378e9ccf949e5keunyoung} 41