Class InvalidAssemblyFileException

java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.iu.jrsalata.InvalidAssemblyFileException
All Implemented Interfaces:
Serializable

public class InvalidAssemblyFileException extends Exception
Exception thrown to indicate that there is an error with the assembly file. This exception can be thrown with a default message, a specific line number, or a line number along with a custom message.
See Also:
  • Constructor Details

    • InvalidAssemblyFileException

      public InvalidAssemblyFileException()
      Exception thrown when there is an error with the input assembly file.
    • InvalidAssemblyFileException

      public InvalidAssemblyFileException(int lineNum)
      Exception thrown when an invalid assembly file is encountered.
      Parameters:
      lineNum - the line number where the error occurred
    • InvalidAssemblyFileException

      public InvalidAssemblyFileException(int lineNum, String msg)
      Exception thrown when an invalid assembly file is encountered.
      Parameters:
      lineNum - the line number where the error occurred
      msg - the error message describing the issue