Class ModelAmbiguousException

  • All Implemented Interfaces:
    Serializable

    public class ModelAmbiguousException
    extends ModelLoadException
    Thrown during model loading if ambiguous definitions (variables, constants, suites, variants, forks) were found.
    Author:
    Rene Schneider - initial API and implementation
    See Also:
    Serialized Form
    • Constructor Detail

      • ModelAmbiguousException

        public ModelAmbiguousException​(String aMessage,
                                       Set<AmbiguousDefinition> someAmbiguousDefinitions)
        Creates an instance.
        Parameters:
        aMessage - a string message
        someAmbiguousDefinitions - the ambiguous definitions
    • Method Detail

      • printAmbiguousDefinitions

        public void printAmbiguousDefinitions()
        Prints a readable list of all ambiguous definitions to System.err.
      • printAmbiguousDefinitions

        public void printAmbiguousDefinitions​(PrintStream aTargetStream)
        Prints a readable list of all ambiguous definitions to the given stream.
        Parameters:
        aTargetStream - the target stream