Class ErrorClassesJsonReader


public class ErrorClassesJsonReader extends Object
A reader to load error information from one or more JSON files. Note that, if one error appears in more than one JSON files, the latter wins. Please read core/src/main/resources/error/ for more details.
  • Constructor Details

    • ErrorClassesJsonReader

      public ErrorClassesJsonReader(scala.collection.Seq<URL> jsonFileURLs)
  • Method Details

    • getErrorMessage

      public String getErrorMessage(String errorClass, scala.collection.immutable.Map<String,String> messageParameters)
    • getMessageTemplate

      public String getMessageTemplate(String errorClass)
    • getSqlState

      public String getSqlState(String errorClass)