KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > core > compiler > InvalidInputException


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.jdt.core.compiler;
13
14 /**
15  * Exception thrown by a scanner when encountering lexical errors.
16  * <p>
17  * This class is not intended to be instantiated or subclassed by clients.
18  * </p>
19  */

20 public class InvalidInputException extends Exception JavaDoc {
21
22     private static final long serialVersionUID = 2909732853499731592L; // backward compatible
23

24 /**
25  * Creates a new exception with no detail message.
26  */

27 public InvalidInputException() {
28     super();
29 }
30
31 /**
32  * Creates a new exception with the given detail message.
33  * @param message the detail message
34  */

35 public InvalidInputException(String JavaDoc message) {
36     super(message);
37 }
38 }
39
Popular Tags