Class EntitlementClassResolver.RejectedTypeException

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    EntitlementClassResolver

    public static class EntitlementClassResolver.RejectedTypeException
    extends ClassNotFoundException
    Signals that the requested class was found on the classpath but refused: it is not a subtype of the expected entitlement type, or it is not instantiable (abstract class or interface).

    It extends ClassNotFoundException so that every pre-existing call site keeps compiling and keeps treating a refusal as a resolution failure, while call sites that want to report "found but refused" differently from "no such class" can catch this subtype first.

    See Also:
    Serialized Form
    • Constructor Detail

      • RejectedTypeException

        public RejectedTypeException​(String message)