Class GamevalNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.botwithus.bot.api.gameval.GamevalNotFoundException
- All Implemented Interfaces:
Serializable
A gameval name did not resolve. Thrown by
GamevalIndex.require(GamevalType, String) — the fail-fast counterpart
to GamevalIndex.id(GamevalType, String), for the common script case
where a missing name means the script cannot proceed anyway.
Also thrown when the index itself is unavailable (no gameval.sqlite
on disk), which is why the message names both possibilities.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGamevalNotFoundException(GamevalType type, String gameval, boolean indexAvailable) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GamevalNotFoundException
-
-
Method Details
-
type
Namespace the lookup was made in. -
gameval
The name that failed to resolve.
-