
org.xins.client.DisabledFunctionException Maven / Gradle / Ivy
/*
* $Id: DisabledFunctionException.java,v 1.9 2008/07/04 10:22:49 agoubard Exp $
*
* Copyright 2003-2008 Online Breedband B.V.
* See the COPYRIGHT file for redistribution and use restrictions.
*/
package org.xins.client;
import org.xins.common.service.TargetDescriptor;
/**
* Exception thrown to indicate that the called function has been disabled
* at the server-side.
*
* @version $Revision: 1.9 $ $Date: 2008/07/04 10:22:49 $
* @author Ernst de Haan
*
* @since XINS 1.2.0
*/
public class DisabledFunctionException
extends StandardErrorCodeException {
/**
* Constructs a new DisabledFunctionException
.
*
* @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
.
*/
DisabledFunctionException(XINSCallRequest request,
TargetDescriptor target,
long duration,
XINSCallResultData resultData)
throws IllegalArgumentException {
super(request, target, duration, resultData, null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy