Interface StatusTemplateFactory

  • All Known Implementing Classes:
    WebScriptException

    public interface StatusTemplateFactory
    Interface to enable the lazy retrieval of the template and associated model corresponding to a particular webscript status code. Used in the event of an exception during web script execution and avoids retrieving the information unnecessarily (potentially causing deadlocks) in the event of a retried transaction.
    Author:
    dward
    • Method Detail

      • getStatusTemplate

        StatusTemplate getStatusTemplate()
        Retrieve the status template
        Returns:
        template
      • getStatusModel

        java.util.Map<java.lang.String,​java.lang.Object> getStatusModel()
        Retrieve the status model
        Returns:
        model