Record Class BetterModelPlatform.ReloadResult.Failure
java.lang.Object
java.lang.Record
kr.toxicity.model.api.BetterModelPlatform.ReloadResult.Failure
- Record Components:
throwable- the exception that caused the failure
- All Implemented Interfaces:
BetterModelPlatform.ReloadResult
- Enclosing interface:
BetterModelPlatform.ReloadResult
public static record BetterModelPlatform.ReloadResult.Failure(@NotNull Throwable throwable)
extends Record
implements BetterModelPlatform.ReloadResult
Indicates a failed reload.
- Since:
- 1.15.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface BetterModelPlatform.ReloadResult
BetterModelPlatform.ReloadResult.Failure, BetterModelPlatform.ReloadResult.OnReload, BetterModelPlatform.ReloadResult.Success -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull ThrowableReturns the value of thethrowablerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Failure
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
throwable
-