Class CLogErrorBuffer


  • public class CLogErrorBuffer
    extends Handler
    Client Error Buffer
    Version:
    $Id: CLogErrorBuffer.java,v 1.3 2006/07/30 00:54:36 jjanke Exp $
    Author:
    Jorg Janke, Teo Sarca, teo.sarca@gmail.com
  • BF [ 2973298 ] NPE on CLogErrorBuffer
    • Constructor Detail

      • CLogErrorBuffer

        public CLogErrorBuffer()
        Constructor
    • Method Detail

      • isIssueError

        public boolean isIssueError()
        Issue Error
        Returns:
        true if issue error
      • setIssueError

        public void setIssueError​(boolean issueError)
        Set Issue Error
        Parameters:
        issueError - issue error
      • getColumnNames

        public Vector<String> getColumnNames​(Properties ctx)
        Get ColumnNames of Log Entries
        Parameters:
        ctx - context (not used)
        Returns:
        string vector
      • getLogData

        public Vector<Vector<Object>> getLogData​(boolean errorsOnly)
        Get Log Data
        Parameters:
        errorsOnly - if true errors otherwise log
        Returns:
        data array
      • getRecords

        public LogRecord[] getRecords​(boolean errorsOnly)
        Get Array of events with most recent first
        Parameters:
        errorsOnly - if true errors otherwise log
        Returns:
        array of events
      • resetBuffer

        public void resetBuffer​(boolean errorsOnly)
        Reset Error Buffer
        Parameters:
        errorsOnly - if true errors otherwise log
      • getErrorInfo

        public String getErrorInfo​(Properties ctx,
                                   boolean errorsOnly)
        Get/Put Error Info in String
        Parameters:
        ctx - context
        errorsOnly - if true errors otherwise log
        Returns:
        error info
      • toString

        public String toString()
        String Representation
        Overrides:
        toString in class Object
        Returns:
        info