01: /*
02: * Copyright 2004 (C) TJDO.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the TJDO License version 1.0.
06: * See the terms of the TJDO License in the documentation provided with this software.
07: *
08: * $Id: IllegalArgumentsException.java,v 1.1 2004/01/18 03:01:06 jackknifebarber Exp $
09: */
10:
11: package com.triactive.jdo.sco;
12:
13: import com.triactive.jdo.SCO;
14:
15: /**
16: * An <tt>IllegalArgumentsException</tt> is thrown if one or more of a set of
17: * arguments to an SCO method were illegal.
18: * Each specific failure is represented by a nested exception.
19: *
20: * @author <a href="mailto:mmartin5@austin.rr.com">Mike Martin</a>
21: * @version $Revision: 1.1 $
22: */
23:
24: public class IllegalArgumentsException extends SCOException {
25: /**
26: * Constructs an illegal arguments exception.
27: *
28: * @param sco The second-class object.
29: * @param nested The argument errors.
30: */
31:
32: public IllegalArgumentsException(SCO sco, Throwable[] nested) {
33: super (sco, "One or more arguments were illegal", nested);
34: }
35: }
|