Class FaweClipboardVersionMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.fastasyncworldedit.core.internal.exception.FaweException
com.fastasyncworldedit.core.internal.exception.FaweClipboardVersionMismatchException
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fastasyncworldedit.core.internal.exception.FaweException
FaweException.Type
-
Field Summary
Fields inherited from class com.fastasyncworldedit.core.internal.exception.FaweException
_disableQueue, _enableQueue
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.FaweClipboardVersionMismatchException
(int expected, int version) New exception specifying a version mismatch between that supported and that loaded. -
Method Summary
Modifier and TypeMethodDescriptionint
Get the version specified in the clipboard attempting to be loaded.int
Get the version that was expected of the clipboardMethods inherited from class com.fastasyncworldedit.core.internal.exception.FaweException
fillInStackTrace, get, getComponent, getMessage, getType, ignorable
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FaweClipboardVersionMismatchException
Deprecated, for removal: This API element is subject to removal in a future version. -
FaweClipboardVersionMismatchException
public FaweClipboardVersionMismatchException(int expected, int version) New exception specifying a version mismatch between that supported and that loaded.- Parameters:
expected
- expected version of clipboardversion
- version of clipboard attempting to be loaded- Since:
- 2.3.0
-
-
Method Details
-
getClipboardVersion
public int getClipboardVersion()Get the version specified in the clipboard attempting to be loaded.- Since:
- 2.3.0
-
getExpectedVersion
public int getExpectedVersion()Get the version that was expected of the clipboard- Since:
- 2.3.0
-
FaweClipboardVersionMismatchException(int, int)