Class UnsupportedFacetException

All Implemented Interfaces:
Serializable

public class UnsupportedFacetException extends UnsupportedOperationException
Indicates a failed request to find a required facet of some subject.
See Also:
  • Constructor Details

    • UnsupportedFacetException

      public UnsupportedFacetException(Class<?> facetType, Object subject)
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getFacetType

      public Class<?> getFacetType()
      Gets the facet type that's not supported by the subject instance.
      Returns:
      may be null.
    • getSubject

      public Object getSubject()
      Gets the subject instance that didn't support the requested facet.
      Returns:
      may be null.