| |
|
| java.lang.Object com.tc.util.NonPortableReason
NonPortableReason | public class NonPortableReason implements Serializable(Code) | | Encapsulate why something is non-portable and build nice error messages
for printing when that occurs.
|
CLASS_NOT_ADAPTABLE | final public static byte CLASS_NOT_ADAPTABLE(Code) | | |
CLASS_NOT_INCLUDED_IN_CONFIG | final public static byte CLASS_NOT_INCLUDED_IN_CONFIG(Code) | | |
CLASS_NOT_IN_BOOT_JAR | final public static byte CLASS_NOT_IN_BOOT_JAR(Code) | | |
SUBCLASS_OF_LOGICALLY_MANAGED_CLASS | final public static byte SUBCLASS_OF_LOGICALLY_MANAGED_CLASS(Code) | | |
SUPER_CLASS_NOT_ADAPTABLE | final public static byte SUPER_CLASS_NOT_ADAPTABLE(Code) | | |
SUPER_CLASS_NOT_INSTRUMENTED | final public static byte SUPER_CLASS_NOT_INSTRUMENTED(Code) | | |
TEST_REASON | final public static byte TEST_REASON(Code) | | |
UNDEFINED | final public static byte UNDEFINED(Code) | | |
NonPortableReason | public NonPortableReason(Class clazz, byte reasonCode)(Code) | | Parameters: clazz - The class that is non-portable Parameters: reasonCode - The reason why it is non-portable |
NonPortableReason | public NonPortableReason(String className, byte reasonCode)(Code) | | Parameters: className - The class that is non-portable Parameters: reasonCode - The reason why it is non-portable |
accept | public void accept(NonPortableReasonFormatter formatter)(Code) | | Accept a formatter for message formatting. This method will walk
the reason text, details, and instructions.
Parameters: formatter - Formatter to help formatting the reason |
addDetail | public void addDetail(String label, String value)(Code) | | Add detail to the reason
Parameters: label - The label Parameters: value - The value |
addErroneousSuperClass | public void addErroneousSuperClass(Class superClass)(Code) | | Add erroneous super class
Parameters: superClass - Super class that is non-portable |
getDetailedReason | public synchronized String getDetailedReason()(Code) | | Detailed reason why something is non-portable |
getErroneousBootJarSuperClasses | public List getErroneousBootJarSuperClasses()(Code) | | All erroneous super classes in the boot jar |
getErroneousSuperClasses | public List getErroneousSuperClasses()(Code) | | All erroneous super classes not in the boot jar |
getInstructions | public synchronized String getInstructions()(Code) | | Instructions on how to correct the problem |
getReason | public byte getReason()(Code) | | Reason code |
getUltimateNonPortableFieldName | public String getUltimateNonPortableFieldName()(Code) | | the field holding the non-portable object. |
hasUltimateNonPortableFieldName | public boolean hasUltimateNonPortableFieldName()(Code) | | Check whether this reason knows the field name referring to the non-portable object.
True if has field name |
setMessage | public void setMessage(String msg)(Code) | | Parameters: msg - The message |
setUltimateNonPortableFieldName | public void setUltimateNonPortableFieldName(String name)(Code) | | Set the name of the field holding the nonportable object.
Parameters: name - Name of the field |
|
|
|