Class ReferenceViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.sling.testing.mock.osgi.ReferenceViolationException
-
- All Implemented Interfaces:
Serializable
public final class ReferenceViolationException extends RuntimeException
Is thrown when a OSGi reference injection fails due to violated constraints.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReferenceViolationException(@NotNull 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
-
ReferenceViolationException
public ReferenceViolationException(@NotNull @NotNull String message)
-
-