Uses of Enum Class
com.ultikits.ultitools.exceptions.ErrorCode
Packages that use ErrorCode
Package
Description
Internal compilation and lifecycle binding of Brigadier trees.
-
Uses of ErrorCode in com.ultikits.ultitools.abstracts
Methods in com.ultikits.ultitools.abstracts with parameters of type ErrorCodeModifier and TypeMethodDescriptionprivate static StringAbstractConfigEntity.configDiagnostic(ErrorCode code, String whatHappened) private ConfigurationExceptionAbstractConfigEntity.conversionDiagnostic(ErrorCode code, String operation, Field field, ConversionException failure) -
Uses of ErrorCode in com.ultikits.ultitools.command.engine
Methods in com.ultikits.ultitools.command.engine with parameters of type ErrorCodeModifier and TypeMethodDescriptionprivate static CommandCompilationExceptionCommandTreeCompiler.invalid(ErrorCode code, Class<?> owner, Method method, String format, String reason) Constructors in com.ultikits.ultitools.command.engine with parameters of type ErrorCodeModifierConstructorDescription(package private)CommandCompilationException(ErrorCode code, String reason) -
Uses of ErrorCode in com.ultikits.ultitools.exceptions
Subclasses with type arguments of type ErrorCode in com.ultikits.ultitools.exceptionsFields in com.ultikits.ultitools.exceptions declared as ErrorCodeModifier and TypeFieldDescriptionprivate final ErrorCodeDiagnostic.codeThe field for thecoderecord component.private final ErrorCodeUltiToolsException.errorCodeMethods in com.ultikits.ultitools.exceptions that return ErrorCodeModifier and TypeMethodDescriptionDiagnostic.code()Returns the value of thecoderecord component.UltiToolsException.getErrorCode()Gets the error code associated with this exception.static ErrorCodeReturns the enum constant of this class with the specified name.static ErrorCode[]ErrorCode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.ultikits.ultitools.exceptions with parameters of type ErrorCodeModifier and TypeMethodDescriptionstatic Optional<Diagnostic> Recognises a coded cause, but gives a failed direct class lookup the caller's code.static DiagnosticSelects a specific framework code through exception wrappers, including reflective invocation.static DiagnosticDiagnostic.fromFailure(ErrorCode fallback, String context, Throwable failure) Adds context to a failure without repeating the cause's fix and documentation lines.private static String(package private) static StringConstructors in com.ultikits.ultitools.exceptions with parameters of type ErrorCodeModifierConstructorDescriptionCommandException(ErrorCode errorCode, String message) Creates a new command exception with a specific error code.CommandException(ErrorCode errorCode, String message, Throwable cause) Creates a new command exception with error code, message, and cause.ConfigurationException(ErrorCode errorCode, String message) Creates a new configuration exception with a specific error code.ConfigurationException(ErrorCode errorCode, String message, Throwable cause) Creates a new configuration exception with error code, message, and cause.ContainerException(ErrorCode errorCode, String message) Creates a new container exception with a specific error code.ContainerException(ErrorCode errorCode, String message, Throwable cause) Creates a new container exception with error code, message, and cause.DataAccessException(ErrorCode errorCode, String message) Creates a new data access exception with a specific error code.DataAccessException(ErrorCode errorCode, String message, Throwable cause) Creates a new data access exception with error code, message, and cause.Diagnostic(ErrorCode code, String whatHappened) Creates an instance of aDiagnosticrecord class.PluginModuleException(ErrorCode errorCode, String message) Creates a new plugin module exception with a specific error code.PluginModuleException(ErrorCode errorCode, String message, Throwable cause) Creates a new plugin module exception with error code, message, and cause.protectedUltiToolsException(ErrorCode errorCode) Creates a new exception with the given error code.protectedUltiToolsException(ErrorCode errorCode, String message) Creates a new exception with the given error code and custom message.protectedUltiToolsException(ErrorCode errorCode, String message, Throwable cause) Creates a new exception with the given error code, message, and cause.protectedUltiToolsException(ErrorCode errorCode, Throwable cause) Creates a new exception with the given error code and cause.UnexpectedRollbackException(ErrorCode errorCode, String message) Creates a new unexpected-rollback exception with a specific error code.UnexpectedRollbackException(ErrorCode errorCode, String message, Throwable cause) Creates a new unexpected-rollback exception with error code, message, and cause. -
Uses of ErrorCode in com.ultikits.ultitools.manager
Methods in com.ultikits.ultitools.manager with parameters of type ErrorCodeModifier and TypeMethodDescriptionprivate static voidPluginManager.keepRunning(UltiToolsPlugin plugin, ReloadReport report, String bindingKey, Integer before, Map<String, Integer> next, Set<String> reported, String reportWhy, ErrorCode code)