KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > it > stefanochizzolini > clown > util > NotImplementedException


1 /*
2   Copyright © 2007 Stefano Chizzolini. http://clown.stefanochizzolini.it
3
4   Contributors:
5     * Stefano Chizzolini (original code developer, info@stefanochizzolini.it):
6       contributed code is Copyright © 2007 by Stefano Chizzolini.
7
8   This file should be part of the source code distribution of "PDF Clown library"
9   (the Program): see the accompanying README files for more info.
10
11   This Program is free software; you can redistribute it and/or modify it under
12   the terms of the GNU General Public License as published by the Free Software
13   Foundation; either version 2 of the License, or (at your option) any later version.
14
15   This Program is distributed in the hope that it will be useful, but WITHOUT ANY
16   WARRANTY, either expressed or implied; without even the implied warranty of
17   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more details.
18
19   You should have received a copy of the GNU General Public License along with this
20   Program (see README files); if not, go to the GNU website (http://www.gnu.org/).
21
22   Redistribution and use, with or without modification, are permitted provided that such
23   redistributions retain the above copyright notice, license and disclaimer, along with
24   this list of conditions.
25 */

26
27 package it.stefanochizzolini.clown.util;
28
29 /**
30   Exception thrown to indicate that a block of code has not been implemented yet.
31
32   @author Stefano Chizzolini
33   @version 0.0.3.33, 01/26/07
34   @since 0.0.3
35 */

36 public class NotImplementedException
37   extends UnsupportedOperationException JavaDoc
38 {
39   // <class>
40
// <dynamic>
41
// <constructors>
42
public NotImplementedException(
43     )
44   {this(null,null);}
45
46   public NotImplementedException(
47     String JavaDoc message
48     )
49   {this(message,null);}
50
51   public NotImplementedException(
52     String JavaDoc message,
53     Throwable JavaDoc cause
54     )
55   {
56     super(
57       message == null ?
58         "There's work for you! You reached a code block that hasn't been implemented yet."
59         : message,
60       cause
61       );
62   }
63   // </constructors>
64
// </dynamic>
65
// </class>
66
}
Popular Tags