Package bridge
Class Jump
- All Implemented Interfaces:
Serializable
A class for teleporting to persistent labels
- See Also:
- Notes:
- The constructor for this class does not actually construct anything – so, the imaginary object must be immediately thrown for your code to compile correctly.
-
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.
-