Class RecorderMessageHandler

  • All Implemented Interfaces:
    java.lang.Thread.UncaughtExceptionHandler

    public class RecorderMessageHandler
    extends MessageHandler
    A message handler that records messages.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Christopher Brooks
    Pt.AcceptedRating:
    Green (cxh)
    Pt.ProposedRating:
    Green (cxh)
    • Constructor Detail

      • RecorderMessageHandler

        public RecorderMessageHandler()
    • Method Detail

      • getMessages

        public java.lang.String getMessages()
        Get the messages recorded so far.
        Returns:
        The messages.
      • reset

        public void reset()
        Clear the buffer.
      • _error

        protected void _error​(java.lang.String info,
                              java.lang.Throwable throwable)
        Show the specified message and throwable information and record.
        Overrides:
        _error in class MessageHandler
        Parameters:
        info - The message.
        throwable - The throwable.
        See Also:
        CancelException