InvalidHeaderValueException.java revision 526ecd1799a2fc467cfce114eae3578b42ccb786
1526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen/* 2526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * Copyright (C) 2007 Esmertec AG. 3526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * Copyright (C) 2007 The Android Open Source Project 4526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * 5526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * Licensed under the Apache License, Version 2.0 (the "License"); 6526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * you may not use this file except in compliance with the License. 7526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * You may obtain a copy of the License at 8526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * 9526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * http://www.apache.org/licenses/LICENSE-2.0 10526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * 11526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * Unless required by applicable law or agreed to in writing, software 12526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * distributed under the License is distributed on an "AS IS" BASIS, 13526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * See the License for the specific language governing permissions and 15526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * limitations under the License. 16526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen */ 17526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen 18526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wenpackage com.google.android.mms; 19526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen 20526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen/** 21526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * Thrown when an invalid header value was set. 22526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen */ 23526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wenpublic class InvalidHeaderValueException extends MmsException { 24526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen private static final long serialVersionUID = -2053384496042052262L; 25526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen 26526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen /** 27526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * Constructs an InvalidHeaderValueException with no detailed message. 28526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen */ 29526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen public InvalidHeaderValueException() { 30526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen super(); 31526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen } 32526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen 33526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen /** 34526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * Constructs an InvalidHeaderValueException with the specified detailed message. 35526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * 36526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen * @param message the detailed message. 37526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen */ 38526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen public InvalidHeaderValueException(String message) { 39526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen super(message); 40526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen } 41526ecd1799a2fc467cfce114eae3578b42ccb786Ye Wen} 42