diff options
Diffstat (limited to 'bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/InvalidCharacterException.java')
-rw-r--r-- | bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/InvalidCharacterException.java | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/InvalidCharacterException.java b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/InvalidCharacterException.java deleted file mode 100644 index a8166ed405..0000000000 --- a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/InvalidCharacterException.java +++ /dev/null @@ -1,67 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - * Jens Lukowski/Innoopract - initial renaming/restructuring - * - *******************************************************************************/ -package org.eclipse.wst.xml.core.internal.document; - - - -/** - * Thrown an invalid character is specified in : XMLNode#setSource(String) - */ -public class InvalidCharacterException extends Exception { - - /** - * Default <code>serialVersionUID</code> - */ - private static final long serialVersionUID = 1L; - private char invalidChar = 0; - private int offset = -1; - - /** - */ - public InvalidCharacterException() { - super(); - } - - /** - */ - public InvalidCharacterException(String s) { - super(s); - } - - /** - */ - public InvalidCharacterException(String s, char c) { - super(s); - this.invalidChar = c; - } - - /** - */ - public InvalidCharacterException(String s, char c, int offset) { - super(s); - this.invalidChar = c; - this.offset = offset; - } - - /** - */ - public char getInvalidChar() { - return this.invalidChar; - } - - /** - */ - public int getOffset() { - return this.offset; - } -} |