Class PluginDataProvider.CommentedIOException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
net.regsirius06.engine.plugins.files.PluginDataProvider.CommentedIOException
All Implemented Interfaces:
Serializable
Enclosing class:
PluginDataProvider

public static class PluginDataProvider.CommentedIOException extends IOException
Custom IOException subclass with an additional comment to provide context about the error.
See Also:
  • Constructor Details

  • Method Details

    • getComment

      public String getComment()
      Retrieves the comment associated with this exception.
      Returns:
      the comment
    • getIOException

      public IOException getIOException()
      Retrieves the underlying IOException.
      Returns:
      the original IOException
    • getCommentedStackTrace

      public String getCommentedStackTrace()
      Retrieves a stack trace with the additional comment.
      Returns:
      the commented stack trace