
com.thesett.common.xml.XmlUtilsException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xmlutils Show documentation
Show all versions of xmlutils Show documentation
My xmlutils library, a mixed bag of re-usable utility code.
/*
* Copyright The Sett Ltd, 2005 to 2014.
*
* 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.thesett.common.xml;
import java.util.Collection;
import java.util.Comparator;
import java.util.PriorityQueue;
import com.thesett.common.error.UserReadableRuntimeException;
/**
* XmlUtilsException is used to represent a wide variety of XML related exceptions. For example parsing errors, parser
* unsupported feature errors, validation errors, malformed xml errors and so on. Generally speaking methods in the
* {@link XmlUtils} class throw this as a convenience exception to capture non-recoverable error conditions.
*
* Recoverable conditions have more specific exception types to represent them.
*
*
CRC Card
* Responsibilities Collaborations
* Represent an unrecoverable condition when working with XML utility methods.
* Act as a container for multiple parsing errors.
*
*
* @author Rupert Smith
*/
public class XmlUtilsException extends UserReadableRuntimeException
{
/** Holds any parsing errors associated with this exception, sorted by line number. */
private Collection© 2015 - 2025 Weber Informatics LLC | Privacy Policy