Class PropertyResolutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.arve0.onepassword.properties.PropertyResolutionException
- All Implemented Interfaces:
Serializable
An exception that indicates an error occurred during the resolution of a property.
The
PropertyResolutionException class extends RuntimeException and
provides constructors to represent both simple and wrapped exceptions with descriptive messages.
This exception is intended to signal issues that occur when resolving a property,
such as invalid configurations, missing values, or other related errors.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyResolutionException(String message) Constructs a newPropertyResolutionExceptionwith the specified detail message.PropertyResolutionException(String message, Throwable cause) Constructs a newPropertyResolutionExceptionwith the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PropertyResolutionException
Constructs a newPropertyResolutionExceptionwith the specified detail message. This constructor is used to create an instance ofPropertyResolutionExceptionwhen a property resolution error occurs, allowing the error to be described with a specific message providing additional context.- Parameters:
message- the detail message explaining the nature of the property resolution issue.
-
PropertyResolutionException
Constructs a newPropertyResolutionExceptionwith the specified detail message and cause. This constructor is used to create an instance ofPropertyResolutionExceptionto represent a specific property resolution error, wrapping the underlying cause for additional context.- Parameters:
message- the detail message explaining the nature of the property resolution issue.cause- the cause of the exception, typically another exception that led to this error.
-