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:
  • Constructor Details

    • ReferenceViolationException

      public ReferenceViolationException(@NotNull @NotNull String message)