Package edu.iu.jrsalata
Class InvalidAssemblyFileException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.iu.jrsalata.InvalidAssemblyFileException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionException thrown when there is an error with the input assembly file.InvalidAssemblyFileException
(int lineNum) Exception thrown when an invalid assembly file is encountered.InvalidAssemblyFileException
(int lineNum, String msg) Exception thrown when an invalid assembly file is encountered. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
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
Exception thrown when an invalid assembly file is encountered.- Parameters:
lineNum
- the line number where the error occurredmsg
- the error message describing the issue
-