Class InvalidDescriptorException

All Implemented Interfaces:
Serializable

public final class InvalidDescriptorException extends IllegalArgumentException
InvalidDescriptorException
Signals that a descriptor could not be converted into an entity — a missing key, a wrong-typed value, or a failed typed look-up. Extends IllegalArgumentException so existing catch (IllegalArgumentException) blocks keep working.
See Also:
  • Constructor Details

    • InvalidDescriptorException

      public InvalidDescriptorException(String message)
      Creates an invalid-descriptor exception.
      Parameters:
      message - Failure reason.
    • InvalidDescriptorException

      public InvalidDescriptorException(String message, Throwable cause)
      Creates an invalid-descriptor exception wrapping an underlying cause.
      Parameters:
      message - Failure reason.
      cause - Underlying cause.