Interface J3DFatal

All Superinterfaces:
J3ErrSeverity
All Known Implementing Classes:
DefaultObjectDeletionException, DocsGenException, GenericIOException, InteractionException, J3DFileException, LongTaskException, MatrixException, PrefsGenException, ProjectFileException

public interface J3DFatal extends J3ErrSeverity
An interface representing a fatal error within the J3Engine.

Fatal errors are critical and typically indicate that the application cannot continue its operation safely or correctly.

Author:
Lehlogonolo Poole
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns a string representing the header to be used when logging messages of this specific error severity.
    default boolean
    Specifies whether the application should terminate after a fatal error.
  • Method Details

    • logHead

      default String logHead()
      Description copied from interface: J3ErrSeverity
      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]".
      Specified by:
      logHead in interface J3ErrSeverity
      Returns:
      A String representing the log header for this severity.
    • terminate

      default boolean terminate()
      Specifies whether the application should terminate after a fatal error.
      Returns:
      true if the application should terminate, false otherwise.