KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ve > luz > ica > jackass > instantiator > CannotCreateException


1 /*
2  * Copyright (c) 2003 by The Jackass Team
3  * Licensed under the Open Software License version 2.0
4  */

5 package ve.luz.ica.jackass.instantiator;
6
7 /**
8  * Exception thrown objects of type LocalFactoy when unable to create objects
9  * @author Carlos Arévalo
10  */

11 public class CannotCreateException extends Exception JavaDoc
12 {
13
14     /**
15      * Default constructor
16      */

17     public CannotCreateException()
18     {
19         super();
20     }
21
22     /**
23      * @param message message for the exception
24      */

25     public CannotCreateException(String JavaDoc message)
26     {
27         super(message);
28     }
29
30     /**
31      * @param message message for the exception
32      * @param cause the exception that caused this exception to be thrown
33      */

34     public CannotCreateException(String JavaDoc message, Throwable JavaDoc cause)
35     {
36         super(message, cause);
37     }
38
39     /**
40      * @param cause the exception that caused this exception to be thrown
41      */

42     public CannotCreateException(Throwable JavaDoc cause)
43     {
44         super(cause);
45     }
46
47 }
48
Popular Tags