1 4 package com.tc.exception; 5 6 7 10 public class TCLogicalSubclassNotPortableException extends TCRuntimeException { 11 private static final ExceptionWrapper wrapper = new ExceptionWrapperImpl(); 12 13 private String className; 14 private String superClassName; 15 16 public TCLogicalSubclassNotPortableException(String className, String superClassName) { 17 super(wrapper.wrap(className + " is a subclass of the logically managed superclass " + superClassName + ". It has contained structure that is currently not supported. Perhaps it has overridden a protected method." )); 18 this.className = className; 19 this.superClassName = superClassName; 20 } 21 22 public String getClassName() { 23 return className; 24 } 25 26 public String getSuperClassName() { 27 return superClassName; 28 } 29 30 } | Popular Tags |