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 aLoadingProblem
record class. -
Method Summary
Modifier and TypeMethodDescriptioncontext()
Returns the value of thecontext
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theexception
record component.final int
hashCode()
Returns a hash code value for this object.message()
Returns the value of themessage
record component.toString()
Returns a string representation of this record class.
-
Constructor Details
-
LoadingProblem
Constructor -
LoadingProblem
Creates an instance of aLoadingProblem
record class.- Parameters:
context
- the value for thecontext
record componentmessage
- the value for themessage
record componentexception
- the value for theexception
record 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 thecontext
record component.- Returns:
- the value of the
context
record component
-
message
Returns the value of themessage
record component.- Returns:
- the value of the
message
record component
-
exception
Returns the value of theexception
record component.- Returns:
- the value of the
exception
record component
-