001/* 002 * PathException.java July 2010 003 * 004 * Copyright (C) 2006, Niall Gallagher <niallg@users.sf.net> 005 * 006 * Licensed under the Apache License, Version 2.0 (the "License"); 007 * you may not use this file except in compliance with the License. 008 * You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, software 013 * distributed under the License is distributed on an "AS IS" BASIS, 014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 015 * implied. See the License for the specific language governing 016 * permissions and limitations under the License. 017 */ 018 019package org.simpleframework.xml.core; 020 021/** 022 * The <code>PathException</code> is thrown when there is a problem 023 * with the syntax of an XPath expression. Parsing problems include 024 * specifying a path that is either illegal or contains features 025 * that are not supported by the internal parser. 026 * 027 * @author Niall Gallagher 028 */ 029public class PathException extends PersistenceException { 030 031 /** 032 * Constructor for the <code>PathException</code> object. This 033 * constructor takes a format string an a variable number of 034 * object arguments, which can be inserted into the format string. 035 * 036 * @param text a format string used to present the error message 037 * @param list a list of arguments to insert into the string 038 */ 039 public PathException(String text, Object... list) { 040 super(text, list); 041 } 042}