Interface J3ErrSeverity

All Known Subinterfaces:
J3DFatal, J3DMild, J3DWarning
All Known Implementing Classes:
DefaultObjectDeletionException, DocsGenException, GenericIOException, ImgGenException, InteractionException, InvalidCopyException, J3DFileException, LongTaskException, MatrixException, PrefsGenException, ProjectFileException

public interface J3ErrSeverity
Defines the contract for error severity levels within J3Engine

Implementors are different error severities, and all J3DError are expected to implement one of these interfaces.

Author:
Lehlogonolo Poole
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a string representing the header to be used when logging messages of this specific error severity.
  • Method Details

    • logHead

      String logHead()
      Returns a string representing the header to be used when logging messages of this specific error severity. For example, an implementation for a "WARNING" severity might return "[WARNING]".
      Returns:
      A String representing the log header for this severity.