Class LocalizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
me.kzheart.klib.script.kether.core.LocalizedException
- All Implemented Interfaces:
Serializable
文本可由活动服务本地化的结构化 Kether 错误。
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLocalizedException(me.kzheart.klib.script.kether.core.LoadError error, String node, Object[] params) -
Method Summary
Modifier and TypeMethodDescriptionstatic LocalizedExceptionbatch(LocalizedException... exceptions) me.kzheart.klib.script.kether.core.LoadErrorgetError()getNode()Object[]static LocalizedExceptionstatic LocalizedExceptionstream()static Supplier<LocalizedException> then(LocalizedException exception) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LocalizedException
-
-
Method Details
-
getError
public me.kzheart.klib.script.kether.core.LoadError getError() -
getNode
-
getParams
-
getLocalizedMessage
- Overrides:
getLocalizedMessagein classThrowable
-
stream
-
then
-
of
public static LocalizedException of(me.kzheart.klib.script.kether.core.LoadError error, String node, Object... params) -
of
-
supply
-
batch
-