public class ModelException extends Exception
| Constructor and Description |
|---|
ModelException(List<String> errorList)
Create a new ModelException with an errorList.
|
ModelException(String message) |
ModelException(String msg,
Exception e,
int lineNumber) |
ModelException(String message,
Throwable cause) |
ModelException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getErrorList() |
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ModelException(List<String> errorList)
errorList - list of errors encountered in model creationpublic ModelException(String message)
message - public ModelException(String msg, Exception e, int lineNumber)
msg - e - lineNumber - public ModelException(Throwable cause)
cause - public String getMessage()
getMessage in class ThrowableCopyright © 2026. All rights reserved.