01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.exception;
05:
06: /**
07: * Thrown when someone tries to call an unimplemented feature.
08: */
09: public class TCLogicalSubclassNotPortableException extends
10: TCRuntimeException {
11: private static final ExceptionWrapper wrapper = new ExceptionWrapperImpl();
12:
13: private String className;
14: private String super ClassName;
15:
16: public TCLogicalSubclassNotPortableException(String className,
17: String super ClassName) {
18: super (
19: wrapper
20: .wrap(className
21: + " is a subclass of the logically managed superclass "
22: + super ClassName
23: + ". It has contained structure that is currently not supported. Perhaps it has overridden a protected method."));
24: this .className = className;
25: this .super ClassName = super ClassName;
26: }
27:
28: public String getClassName() {
29: return className;
30: }
31:
32: public String getSuperClassName() {
33: return superClassName;
34: }
35:
36: }
|