Package org.spongepowered.api.util
Class PositionOutOfBoundsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.spongepowered.api.util.PositionOutOfBoundsException
- All Implemented Interfaces:
- Serializable
An exception thrown when a position is outside of its expected bounds.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionPositionOutOfBoundsException(Vectord position, Vectord min, Vectord max) Constructs the exception from double coordinate vectors.PositionOutOfBoundsException(Vectorf position, Vectorf min, Vectorf max) Constructs the exception from float coordinate vectors.PositionOutOfBoundsException(Vectori position, Vectori min, Vectori max) Constructs the exception from int coordinate vectors.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
PositionOutOfBoundsExceptionConstructs the exception from int coordinate vectors.- Parameters:
- position- The out-of-bounds position
- min- The minimum acceptable bound
- max- The maximum acceptable bound
 
- 
PositionOutOfBoundsExceptionConstructs the exception from float coordinate vectors.- Parameters:
- position- The out-of-bounds position
- min- The minimum acceptable bound
- max- The maximum acceptable bound
 
- 
PositionOutOfBoundsExceptionConstructs the exception from double coordinate vectors.- Parameters:
- position- The out-of-bounds position
- min- The minimum acceptable bound
- max- The maximum acceptable bound
 
 
-