Class CustomResolverException

  • All Implemented Interfaces:
    java.io.Serializable

    @API(type=EXTENDABLE,
         src=PUBLIC)
    public class CustomResolverException
    extends java.io.IOException
    Signals an custom reference that wasn't resolved. It offers a possible solution to the user.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ReferenceErrorResolver getErrorResolver()
      Gets a possible solution for the user.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CustomResolverException

        public CustomResolverException​(java.lang.String errorMessage,
                                       ReferenceErrorResolver errorResolver)
        Constructor.
        Parameters:
        errorMessage - The error message.
        errorResolver - Can provide an error solution.
    • Method Detail

      • getErrorResolver

        public ReferenceErrorResolver getErrorResolver()
        Gets a possible solution for the user.
        Returns:
        Returns a possible solution provider for the user.