Class ConfigTypeStrictnessViolation
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.sling.testing.mock.osgi.config.ConfigTypeStrictnessViolation
-
- All Implemented Interfaces:
Serializable
public class ConfigTypeStrictnessViolation extends RuntimeException
Specific exception type thrown when aConfigType
annotation is resolved which hasConfigType.lenient()
set totrue
, which fails to meet the documented assertion rules.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigTypeStrictnessViolation(String message)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConfigTypeStrictnessViolation
public ConfigTypeStrictnessViolation(String message)
-
-