KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > triactive > jdo > sco > IllegalArgumentsException


1 /*
2  * Copyright 2004 (C) TJDO.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the TJDO License version 1.0.
6  * See the terms of the TJDO License in the documentation provided with this software.
7  *
8  * $Id: IllegalArgumentsException.java,v 1.1 2004/01/18 03:01:06 jackknifebarber Exp $
9  */

10
11 package com.triactive.jdo.sco;
12
13 import com.triactive.jdo.SCO;
14
15
16 /**
17  * An <tt>IllegalArgumentsException</tt> is thrown if one or more of a set of
18  * arguments to an SCO method were illegal.
19  * Each specific failure is represented by a nested exception.
20  *
21  * @author <a HREF="mailto:mmartin5@austin.rr.com">Mike Martin</a>
22  * @version $Revision: 1.1 $
23  */

24
25 public class IllegalArgumentsException extends SCOException
26 {
27     /**
28      * Constructs an illegal arguments exception.
29      *
30      * @param sco The second-class object.
31      * @param nested The argument errors.
32      */

33
34     public IllegalArgumentsException(SCO sco, Throwable JavaDoc[] nested)
35     {
36         super(sco, "One or more arguments were illegal", nested);
37     }
38 }
39
Popular Tags