Class ClassLoadReport.ClassLoadError

java.lang.Object
de.tomatengames.util.ClassLoadReport.ClassLoadError
Enclosing class:
ClassLoadReport

public static class ClassLoadReport.ClassLoadError extends Object
A ClassLoadError represents a failed class loading attempt.
Since:
1.8
  • Constructor Details

    • ClassLoadError

      public ClassLoadError(String classname, Throwable error)
      Constructs a new ClassLoadError from the provided information.
      Parameters:
      classname - the fully qualified name of the class that failed to load
      error - the exception or error that occurred during loading
  • Method Details

    • getClassName

      public String getClassName()
      Returns the fully qualified name of the class that failed to load.
      Returns:
      the class name
    • getError

      public Throwable getError()
      Returns the exception or error that occurred during class loading.
      Returns:
      the throwable associated with the failed class loading attempt