Class ClassTweakerFormatException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.fabricmc.classtweaker.reader.ClassTweakerFormatException
All Implemented Interfaces:
Serializable

public class ClassTweakerFormatException extends RuntimeException
Thrown when a class tweaker file couldn't be read due to an incorrect format.
See Also:
  • Constructor Details

    • ClassTweakerFormatException

      public ClassTweakerFormatException(int lineNumber, String message)
  • Method Details

    • getLineNumber

      public int getLineNumber()
      The line on which the error occurred. Starts with 1.
    • toString

      public String toString()
      Overrides:
      toString in class Throwable