- All Implemented Interfaces:
public class CTCExceptionBuffer extends Object implements InstanceManagerAutoDefault
Most times the user does not have the System Console displayed when the CTC system is being started up. As such, errors logged to the CTCException class just "disappear" into the ether on that console, and the user has no knowledge of any problems. In this object, I will also gather up all of the errors, warnings and info messages that my system generates in CTCException, and display them to the user via a dialog box of some form, after the CTC system is fully started. For safety, I implement InstanceManagerAutoDefault so that the objects default constructor is called (for future safety). I'm not sure if "class" variables below are initialized properly if this is not done.
Nested Class Summary
Nested Classes Modifier and Type Class Description
Constructors Constructor Description
Modifier and Type Method Description
getHighestExceptionBufferRecordSeverity()You SHOULD call "isEmpty()" first, because this routine returns by default "INFO" IF there are NO entries in the list.
logString(CTCExceptionBuffer.ExceptionBufferRecordSeverity exceptionBufferRecordSeverity, String string)
public boolean isEmpty()
public void clear()
You SHOULD call "isEmpty()" first, because this routine returns by default "INFO" IF there are NO entries in the list. It's purpose is to give the user an idea of the worst case scenario in the errors.
- The highest level of severity in our list.