0N/A/*
0N/A * reserved comment block
0N/A * DO NOT REMOVE OR ALTER!
0N/A */
0N/A/*
0N/A * Copyright 1999-2004 The Apache Software Foundation.
0N/A *
0N/A * Licensed under the Apache License, Version 2.0 (the "License");
0N/A * you may not use this file except in compliance with the License.
0N/A * You may obtain a copy of the License at
0N/A *
0N/A * http://www.apache.org/licenses/LICENSE-2.0
0N/A *
0N/A * Unless required by applicable law or agreed to in writing, software
0N/A * distributed under the License is distributed on an "AS IS" BASIS,
0N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0N/A * See the License for the specific language governing permissions and
0N/A * limitations under the License.
0N/A *
0N/A */
0N/Apackage com.sun.org.apache.xml.internal.security.utils.resolver;
0N/A
0N/A
0N/A
0N/Aimport com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException;
0N/Aimport org.w3c.dom.Attr;
0N/A
0N/A
0N/A/**
0N/A * This Exception is thrown if something related to the
0N/A * {@link com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver} goes wrong.
0N/A *
661N/A * @author $Author: mullan $
0N/A */
0N/Apublic class ResourceResolverException extends XMLSecurityException {
0N/A
0N/A /**
0N/A *
0N/A */
0N/A private static final long serialVersionUID = 1L;
0N/A /**
0N/A * Constructor ResourceResolverException
0N/A *
0N/A * @param _msgID
0N/A * @param uri
0N/A * @param BaseURI
0N/A */
0N/A public ResourceResolverException(String _msgID, Attr uri, String BaseURI) {
0N/A
0N/A super(_msgID);
0N/A
0N/A this._uri = uri;
0N/A this._BaseURI = BaseURI;
0N/A }
0N/A
0N/A /**
0N/A * Constructor ResourceResolverException
0N/A *
0N/A * @param _msgID
0N/A * @param exArgs
0N/A * @param uri
0N/A * @param BaseURI
0N/A */
0N/A public ResourceResolverException(String _msgID, Object exArgs[], Attr uri,
0N/A String BaseURI) {
0N/A
0N/A super(_msgID, exArgs);
0N/A
0N/A this._uri = uri;
0N/A this._BaseURI = BaseURI;
0N/A }
0N/A
0N/A /**
0N/A * Constructor ResourceResolverException
0N/A *
0N/A * @param _msgID
0N/A * @param _originalException
0N/A * @param uri
0N/A * @param BaseURI
0N/A */
0N/A public ResourceResolverException(String _msgID, Exception _originalException,
0N/A Attr uri, String BaseURI) {
0N/A
0N/A super(_msgID, _originalException);
0N/A
0N/A this._uri = uri;
0N/A this._BaseURI = BaseURI;
0N/A }
0N/A
0N/A /**
0N/A * Constructor ResourceResolverException
0N/A *
0N/A * @param _msgID
0N/A * @param exArgs
0N/A * @param _originalException
0N/A * @param uri
0N/A * @param BaseURI
0N/A */
0N/A public ResourceResolverException(String _msgID, Object exArgs[],
0N/A Exception _originalException, Attr uri,
0N/A String BaseURI) {
0N/A
0N/A super(_msgID, exArgs, _originalException);
0N/A
0N/A this._uri = uri;
0N/A this._BaseURI = BaseURI;
0N/A }
0N/A
0N/A //J-
0N/A Attr _uri = null;
0N/A /**
0N/A *
0N/A * @param uri
0N/A */
0N/A public void setURI(Attr uri) {
0N/A this._uri = uri;
0N/A }
0N/A
0N/A /**
0N/A *
0N/A * @return the uri
0N/A */
0N/A public Attr getURI() {
0N/A return this._uri;
0N/A }
0N/A
0N/A String _BaseURI;
0N/A
0N/A /**
0N/A *
0N/A * @param BaseURI
0N/A */
0N/A public void setBaseURI(String BaseURI) {
0N/A this._BaseURI = BaseURI;
0N/A }
0N/A
0N/A /**
0N/A *
0N/A * @return the basUri
0N/A */
0N/A public String getBaseURI() {
0N/A return this._BaseURI;
0N/A }
0N/A //J+
0N/A}