Package com.csse3200.game.exceptions
Class AuthoringError
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.csse3200.game.exceptions.AuthoringError
- All Implemented Interfaces:
Serializable
Created when there is a check in
ActionValidator
fails.
This error is usually not thrown but rather contained in a list to document all the errors in a schema file.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
AuthoringError
- Parameters:
code
- The error code (in all capitals separated by '_')path
- The path of the error in the schema filemessage
- The detailed message describing the error with any extra helpful info
-
-
Method Details
-
getCode
-
getPath
-
getMessage
- Overrides:
getMessage
in classThrowable
-
toString
-