Package bridge
Class Jump
- All Implemented Interfaces:
Serializable
A class for teleporting to persistent labels
- See Also:
- Notes:
- Jumps must be constructed and thrown in a single statement. They may not be stored.
Usages of these constructors are counted as
invocations
.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Jump
public Jump(int id) Teleports to a persistent label in this method- Parameters:
id
- Label ID constant – no dynamic values or mathematics is permitted here.
-
Jump
Teleports to a persistent label in this method- Parameters:
name
- Label name constant – no dynamic values or string manipulation is permitted here.
-