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

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

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

import org.xins.common.service.TargetDescriptor;

/**
 * Abstract base class for generated CAPI exceptions that map to an
 * API-specific error code.
 *
 * 

This class should not be derived from directly. Only generated CAPI * classes should derive from this class. * * @version $Revision: 1.14 $ $Date: 2010/09/29 17:21:48 $ * @author Ernst de Haan */ public abstract class AbstractCAPIErrorCodeException extends UnsuccessfulXINSCallException { /** * Constructs a new AbstractCAPIErrorCodeException. * * @param request * the original request, cannot be null. * * @param target * descriptor for the target that was attempted to be called, cannot be * null. * * @param duration * the call duration in milliseconds, must be >= 0. * * @param resultData * the result data, cannot be null. * * @throws IllegalArgumentException * if request == null * || target == null * || duration < 0 * || resultData == null * || resultData.{@link XINSCallResult#getErrorCode() getErrorCode()} == null. */ protected AbstractCAPIErrorCodeException(XINSCallRequest request, TargetDescriptor target, long duration, XINSCallResultData resultData) throws IllegalArgumentException { super(request, target, duration, resultData, null); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy