KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > exception > ImplementMe


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.exception;
5
6 /**
7  * Thrown when someone tries to call an unimplemented feature.
8  */

9 public class ImplementMe extends TCRuntimeException {
10
11   private static final String JavaDoc PRETTY_TEXT = "You've attempted to use an unsupported feature in this Terracotta product. Please consult "
12                                             + "the product documentation, or email support@terracottatech.com for assistance.";
13
14   public ImplementMe() {
15     this(PRETTY_TEXT);
16   }
17
18   public ImplementMe(String JavaDoc message) {
19     super(message);
20   }
21
22   public ImplementMe(Throwable JavaDoc cause) {
23     super(PRETTY_TEXT, cause);
24   }
25
26   public ImplementMe(String JavaDoc message, Throwable JavaDoc cause) {
27     super(message, cause);
28   }
29
30 }
Popular Tags