diff options
Diffstat (limited to 'ddms/libs/ddmlib/src/com/android/ddmlib/log/InvalidValueTypeException.java')
-rw-r--r-- | ddms/libs/ddmlib/src/com/android/ddmlib/log/InvalidValueTypeException.java | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/ddms/libs/ddmlib/src/com/android/ddmlib/log/InvalidValueTypeException.java b/ddms/libs/ddmlib/src/com/android/ddmlib/log/InvalidValueTypeException.java deleted file mode 100644 index a3050c8..0000000 --- a/ddms/libs/ddmlib/src/com/android/ddmlib/log/InvalidValueTypeException.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * 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.ddmlib.log; - -import com.android.ddmlib.log.EventContainer.EventValueType; -import com.android.ddmlib.log.EventValueDescription.ValueType; - -import java.io.Serializable; - -/** - * Exception thrown when associating an {@link EventValueType} with an incompatible - * {@link ValueType}. - */ -public final class InvalidValueTypeException extends Exception { - - /** - * Needed by {@link Serializable}. - */ - private static final long serialVersionUID = 1L; - - /** - * Constructs a new exception with the default detail message. - * @see java.lang.Exception - */ - public InvalidValueTypeException() { - super("Invalid Type"); - } - - /** - * Constructs a new exception with the specified detail message. - * @param message the detail message. The detail message is saved for later retrieval - * by the {@link Throwable#getMessage()} method. - * @see java.lang.Exception - */ - public InvalidValueTypeException(String message) { - super(message); - } - - /** - * Constructs a new exception with the specified cause and a detail message of - * <code>(cause==null ? null : cause.toString())</code> (which typically contains - * the class and detail message of cause). - * @param cause the cause (which is saved for later retrieval by the - * {@link Throwable#getCause()} method). (A <code>null</code> value is permitted, - * and indicates that the cause is nonexistent or unknown.) - * @see java.lang.Exception - */ - public InvalidValueTypeException(Throwable cause) { - super(cause); - } - - /** - * Constructs a new exception with the specified detail message and cause. - * @param message the detail message. The detail message is saved for later retrieval - * by the {@link Throwable#getMessage()} method. - * @param cause the cause (which is saved for later retrieval by the - * {@link Throwable#getCause()} method). (A <code>null</code> value is permitted, - * and indicates that the cause is nonexistent or unknown.) - * @see java.lang.Exception - */ - public InvalidValueTypeException(String message, Throwable cause) { - super(message, cause); - } -} |