Package com.sun.identity.entitlement
Class EntitlementClassResolver.RejectedTypeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.ReflectiveOperationException
-
- java.lang.ClassNotFoundException
-
- com.sun.identity.entitlement.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
ClassNotFoundExceptionso 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 Summary
Constructors Constructor Description RejectedTypeException(String message)
-
Method Summary
-
Methods inherited from class java.lang.ClassNotFoundException
getCause, getException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RejectedTypeException
public RejectedTypeException(String message)
-
-