Class ErrorResolverContextInfo


  • @API(type=EXTENDABLE,
         src=PUBLIC)
    public class ErrorResolverContextInfo
    extends java.lang.Object
    Class that contains some information about the current error.
    • Constructor Detail

      • ErrorResolverContextInfo

        public ErrorResolverContextInfo​(AuthorAccess authorAccess)
        Constructor.
        Parameters:
        authorAccess - The AuthorAccess.
      • ErrorResolverContextInfo

        public ErrorResolverContextInfo​(AuthorAccess authorAccess,
                                        AuthorNode contextNode)
        Constructor.
        Parameters:
        authorAccess - The AuthorAccess.
        contextNode - The error context node.
    • Method Detail

      • getAuthorAccess

        public AuthorAccess getAuthorAccess()
        Obtain the author access.
        Returns:
        Returns the author access.
      • setAuthorAccess

        public void setAuthorAccess​(AuthorAccess authorAccess)
        Sets the author access.
        Parameters:
        authorAccess - The new author access.
      • getContextNode

        public AuthorNode getContextNode()
        Get the error context node.
        Returns:
        Returns the error context node.
      • setContextNode

        public void setContextNode​(AuthorNode contextNode)
        Set the error context node.
        Parameters:
        contextNode - The error context node.