Package com.sk89q.worldedit
Class MaxChangedBlocksException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sk89q.worldedit.WorldEditException
com.sk89q.worldedit.MaxChangedBlocksException
- All Implemented Interfaces:
Serializable
Thrown when too many blocks are changed (which may be limited
due to the configuration).
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class com.sk89q.worldedit.WorldEditException
getRichMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MaxChangedBlocksException
public MaxChangedBlocksException(int maxBlocks) Create a new instance.- Parameters:
maxBlocks
- the maximum number of blocks that can be changed
-
-
Method Details
-
getBlockLimit
public int getBlockLimit()Get the limit.- Returns:
- the maximum number of blocks that can be changed
-