8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Copyright (c) 2005 Sun Microsystems Inc. All Rights Reserved
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * The contents of this file are subject to the terms
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * of the Common Development and Distribution License
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * (the License). You may not use this file except in
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * compliance with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * You can obtain a copy of the License at
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * https://opensso.dev.java.net/public/CDDLv1.0.html or
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * See the License for the specific language governing
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * permission and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * When distributing Covered Code, include this CDDL
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Header Notice in each file and include the License file
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * If applicable, add the following below the CDDL Header,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * with the fields enclosed by brackets [] replaced by
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * your own identifying information:
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * "Portions Copyrighted [year] [name of copyright owner]"
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * $Id: InvalidAttributeNameException.java,v 1.3 2008/06/25 05:44:04 qcheng Exp $
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * The <code>InvalidAttributeNameException</code> is thrown to indicate that
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * an invalid attribute name was used.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * @see java.lang.Exception
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * @see java.lang.Throwable
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * @supported.all.api
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterpublic class InvalidAttributeNameException extends SMSException {
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Constructs an <code>InvalidAttributeNameException</code> with no
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * specified detail message.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Constructs an <code>InvalidAttributeNameException</code> with the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * specified detail message.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * the detail message.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster public InvalidAttributeNameException(String s) {
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Constructs an <code>InvalidAttributeNameException</code> with the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * specified error code. It can be used to pass localized error message.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * @param rbName
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Resource Bundle name where localized error message is located.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * @param errorCode
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * error code or message id to be used for
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * <code>ResourceBundle.getString()</code> to locate error
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * @param args
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * any arguments to be used for error message formatting
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * <code>getMessage()</code> will construct error message using
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * English resource bundle.