Class PropertyResolutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.arve0.onepassword.properties.PropertyResolutionException
All Implemented Interfaces:
Serializable

public final class PropertyResolutionException extends RuntimeException
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 Details

    • PropertyResolutionException

      public PropertyResolutionException(String message)
      Constructs a new PropertyResolutionException with the specified detail message. This constructor is used to create an instance of PropertyResolutionException when 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

      public PropertyResolutionException(String message, Throwable cause)
      Constructs a new PropertyResolutionException with the specified detail message and cause. This constructor is used to create an instance of PropertyResolutionException to 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.