Overview
Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
VUtils – Release 1
Interface org.violetlib.util.ErrorReporter
Inherited members: ShowHide
Deprecated: ShowHide
org.violetlib.util

Interface ErrorReporter

  • All Known Subinterfaces:
    SimpleReporter
    All Known Implementing Classes:
    NullReporter
    public interface ErrorReporter
    A simple interface for reporting errors.
    • Static Methods 
      Modifier and Type Static Method and Description
      Ordinary member indicator sink Reveal DetailHide Detail
      static ErrorReporter sink()
      Return an error reporter that discards all messages.
      static ErrorReporter sink()
      Return an error reporter that discards all messages.
    • Methods 
      Modifier and Type Method and Description
      Ordinary member indicator error Reveal DetailHide Detail
      abstract void error(String message)
      Report an error.
      void error(String message)
      Report an error.
      Parameters:
      message - The error message.
      Ordinary member indicator formattedError Reveal DetailHide Detail
      void formattedError(String message, Object... args)
      Report an error using a constructed message.
      void formattedError(String message, Object... args)
      Report an error using a constructed message.

      The standard format specifiers are %q, to include quoted text, %s, to include literal text, and %%, to include a percent sign.

      Parameters:
      message - The basic error message, which may include format specifiers.
      args - Arguments to include in the message, based on the format specifiers.
      Ordinary member indicator formattedWarning Reveal DetailHide Detail
      void formattedWarning(String message, Object... args)
      Issue a warning using a constructed message.
      void formattedWarning(String message, Object... args)
      Issue a warning using a constructed message.

      The standard format specifiers are %q, to include quoted text, %s, to include literal text, and %%, to include a percent sign.

      Parameters:
      message - The basic error message, which may include format specifiers.
      args - Arguments to include in the message, based on the format specifiers.
      Ordinary member indicator warning Reveal DetailHide Detail
      void warning(String message)
      Issue a warning.
      void warning(String message)
      Issue a warning.
      Parameters:
      message - The warning message.