Class SchemaException

    • Constructor Detail

      • SchemaException

        public SchemaException()
        Constructs an SchemaException with no specified detail message.
      • SchemaException

        public SchemaException​(String s)
        Constructs an SchemaException with the specified detail message.
        Parameters:
        s - the detail message.
      • SchemaException

        public SchemaException​(String rbName,
                               String errorCode,
                               Object[] args)
        Constructs an SchemaException with the specified error code. It can be used to pass localized error message.
        Parameters:
        rbName - Resource Bundle name where localized error message is located.
        errorCode - error code or message id to be used for ResourceBundle.getString() to locate error message
        args - any arguments to be used for error message formatting getMessage() will construct error message using English resource bundle.