Class InvalidAdaptableException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.sling.models.factory.InvalidAdaptableException
All Implemented Interfaces:
Serializable

@ProviderType public final class InvalidAdaptableException extends RuntimeException
Exception which is triggered whenever a Sling Model could not be instantiated because it could not be adapted from the given adaptable.
See Also:
  • Constructor Details

    • InvalidAdaptableException

      public InvalidAdaptableException(String message)