Class AuthoringError

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.csse3200.game.exceptions.AuthoringError
All Implemented Interfaces:
Serializable

public class AuthoringError extends Exception
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 Details

    • AuthoringError

      public AuthoringError(String code, String path, String message)
      Parameters:
      code - The error code (in all capitals separated by '_')
      path - The path of the error in the schema file
      message - The detailed message describing the error with any extra helpful info
  • Method Details