Class ModelParseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ModelParseException
    extends ModelLoadException
    Exception thrown if any errors appear during parsing of the data model.
    Author:
    Rene Schneider - initial API and implementation
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ModelParseException​(java.lang.String aMessage, java.util.List<Diagnostic> someErrors)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<Diagnostic> getErrors()  
      • 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

      • ModelParseException

        public ModelParseException​(java.lang.String aMessage,
                                   java.util.List<Diagnostic> someErrors)
        Creates a new instance.
        Parameters:
        aMessage - the error message
        someErrors - the errors occurring during parsing
    • Method Detail

      • getErrors

        public java.util.List<Diagnostic> getErrors()