01: /*
02: * $Id: UnacceptableRequestException.java,v 1.28 2007/09/18 08:45:07 agoubard Exp $
03: *
04: * Copyright 2003-2007 Orange Nederland Breedband B.V.
05: * See the COPYRIGHT file for redistribution and use restrictions.
06: */
07: package org.xins.client;
08:
09: /**
10: * Exception that indicates that a request for an API call is considered
11: * unacceptable on the application-level. For example, a mandatory input
12: * parameter may be missing.
13: *
14: * @version $Revision: 1.28 $ $Date: 2007/09/18 08:45:07 $
15: * @author <a href="mailto:ernst@ernstdehaan.com">Ernst de Haan</a>
16: * @author <a href="mailto:anthony.goubard@japplis.com">Anthony Goubard</a>
17: *
18: * @since XINS 1.2.0
19: */
20: public final class UnacceptableRequestException extends
21: UnacceptableMessageException {
22:
23: /**
24: * Constructs a new <code>UnacceptableRequestException</code> using the
25: * specified <code>AbstractCAPICallRequest</code>.
26: *
27: * @param request
28: * the {@link AbstractCAPICallRequest} that is considered unacceptable,
29: * cannot be <code>null</code>.
30: */
31: public UnacceptableRequestException(AbstractCAPICallRequest request) {
32: super(request.xinsCallRequest());
33: }
34: }
|