Class ProtectedAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.aot.generator.ProtectedAccessException
- All Implemented Interfaces:
Serializable
Thrown when a code block requires privileged access on multiple packages.
- Since:
- 6.0
- Author:
- Stephane Nicoll
- See Also:
-
Constructor Summary
ConstructorDescriptionProtectedAccessException
(String message, List<ProtectedElement> protectedElements) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProtectedAccessException
-
-
Method Details
-
getProtectedElements
Return the protected elements.- Returns:
- the protected access
-