Record Class LoadingProblem
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.instances.loaders.LoadingProblem
public record LoadingProblem(LoadingContext context, String message, Exception exception)
extends Record
record that tracks a problem that was encountered when loading files.
-
Constructor Summary
ConstructorsConstructorDescriptionLoadingProblem(LoadingContext context, String message) ConstructorLoadingProblem(LoadingContext context, String message, Exception exception) Creates an instance of aLoadingProblemrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontext()Returns the value of thecontextrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexceptionrecord component.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
LoadingProblem
Constructor -
LoadingProblem
Creates an instance of aLoadingProblemrecord class.- Parameters:
context- the value for thecontextrecord componentmessage- the value for themessagerecord componentexception- the value for theexceptionrecord component
-
-
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). -
context
Returns the value of thecontextrecord component.- Returns:
- the value of the
contextrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
exception
Returns the value of theexceptionrecord component.- Returns:
- the value of the
exceptionrecord component
-