All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.jms.InvalidDestinationRuntimeException Maven / Gradle / Ivy

The newest version!
/**
 * Copyright 2013 ScalAgent Distributed Technologies
 *
 *  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.
 *  ---------------------------------------------------------------------
 *  $Id: InvalidDestinationRuntimeException.java 6347 2013-03-13 08:52:02Z tachker $
 *  ---------------------------------------------------------------------
 */
package javax.jms;

/**
 * This unchecked exception must be thrown when a destination either is not
 * understood by a provider or is no longer valid, and the method signature does
 * not allow a {@code InvalidDestinationException} to be thrown.
 * 
 * @version JMS 2.0
 * @since JMS 2.0
 * 
 **/

public class InvalidDestinationRuntimeException extends JMSRuntimeException {

  /**
   * Constructs a {@code InvalidDestinationRuntimeException} with the specified
   * detail message
   * 
   * @param detailMessage
   *          a description of the exception
   **/
  public InvalidDestinationRuntimeException(String detailMessage) {
    super(detailMessage);
  }

  /**
   * Constructs a {@code InvalidDestinationRuntimeException} with the specified
   * detail message and error code.
   * 
   * @param detailMessage
   *          a description of the exception
   * @param errorCode
   *          a provider-specific error code
   **/
  public InvalidDestinationRuntimeException(String detailMessage,
      String errorCode) {
    super(detailMessage, errorCode);
  }

  /**
   * Constructs a {@code InvalidDestinationRuntimeException} with the specified
   * detail message, error code and cause
   * 
   * @param detailMessage
   *          a description of the exception
   * @param errorCode
   *          a provider-specific error code
   * @param cause
   *          the underlying cause of this exception
   */
  public InvalidDestinationRuntimeException(String detailMessage,
      String errorCode, Throwable cause) {
    super(detailMessage, errorCode, cause);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy