public final class UnableToAdaptException extends RuntimeException
AdaptTo.notNull(org.apache.sling.api.adapter.Adaptable, java.lang.Class<T>) call was not successful.| Constructor and Description |
|---|
UnableToAdaptException(org.apache.sling.api.adapter.Adaptable adaptable,
Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.sling.api.adapter.Adaptable |
getAdaptable() |
Class<?> |
getType() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnableToAdaptException(org.apache.sling.api.adapter.Adaptable adaptable,
Class<?> type)
adaptable - Adaptable object instancetype - Interface to adapt topublic org.apache.sling.api.adapter.Adaptable getAdaptable()
public Class<?> getType()
Copyright © 2014 wcm.io. All rights reserved.