Class TranslateToForeignObjectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.buildtheearth.terraminusminus.substitutes.exceptions.SubstituteException
net.buildtheearth.terraminusminus.substitutes.exceptions.TranslateToForeignObjectException
- All Implemented Interfaces:
Serializable
Indicates failure in an attempt to translate a Terra-- substitute object into a foreign implementation
(e.g. failed to convert a Terra--
BlockState into a Bukkit BlockData).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTranslateToForeignObjectException(@NonNull Object substituteObject, @NonNull Class<?> foreignClass, @NonNull String errorMessage) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TranslateToForeignObjectException
-
-
Method Details
-
substituteObject
-
foreignClass
-