Class TargetNotFoundException

All Implemented Interfaces:
Serializable

public class TargetNotFoundException extends NullPointerException
This exception is thrown when a given target is not found and the game requires one to be found. It is considered a subclass of NullPointerException to stay consistent with the spirit of the Java exception hierarchy.
See Also:
  • Constructor Details

    • TargetNotFoundException

      public TargetNotFoundException(String message, EntityReference reference)
      Creates a new instance of this exception.
      Parameters:
      message -
      reference -
  • Method Details