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

org.xins.client.UnacceptableRequestException Maven / Gradle / Ivy

The newest version!
/*
 * $Id: UnacceptableRequestException.java,v 1.30 2010/09/29 17:21:48 agoubard Exp $
 *
 * See the COPYRIGHT file for redistribution and use restrictions.
 */
package org.xins.client;

/**
 * Exception that indicates that a request for an API call is considered
 * unacceptable on the application-level. For example, a mandatory input
 * parameter may be missing.
 *
 * @version $Revision: 1.30 $ $Date: 2010/09/29 17:21:48 $
 * @author Ernst de Haan
 * @author Anthony Goubard
 *
 * @since XINS 1.2.0
 */
public final class UnacceptableRequestException extends UnacceptableMessageException {

   /**
    * Constructs a new UnacceptableRequestException using the
    * specified AbstractCAPICallRequest.
    *
    * @param request
    *    the {@link AbstractCAPICallRequest} that is considered unacceptable,
    *    cannot be null.
    */
   public UnacceptableRequestException(AbstractCAPICallRequest request) {
      super(request.xinsCallRequest());
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy