Class OntologyResolutionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class OntologyResolutionException
    extends IllegalActionException
    Thrown when an ontology solver fails to resolve correctly.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Man-kit (Jackie) Leung, Christopher Brooks
    See Also:
    Serialized Form
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Yellow (cxh)
    • Constructor Detail

      • OntologyResolutionException

        public OntologyResolutionException​(OntologySolverBase solver,
                                           java.lang.String detail)
        Construct an exception that includes the OntologySolver that was involved.
        Parameters:
        solver - The OntologySolver, which must not be null.
        detail - The message.
      • OntologyResolutionException

        public OntologyResolutionException​(OntologySolverBase solver,
                                           Nameable nameable,
                                           java.lang.String detail)
        Construct an exception that includes the OntologySolver that was involved and the cause.
        Parameters:
        solver - The OntologySolver, which must not be null.
        nameable - The Nameable object that was involved.
        detail - The message.
      • OntologyResolutionException

        public OntologyResolutionException​(OntologySolverBase solver,
                                           Nameable nameable,
                                           java.lang.Throwable cause,
                                           java.lang.String detail)
        Construct an exception that includes the OntologySolver that was involved, the Nameable and the cause.
        Parameters:
        solver - The OntologySolver, which must not be null.
        nameable - The Nameable object that was involved.
        cause - The cause of this exception, or null if the cause is not known or nonexistent
        detail - The message.
    • Method Detail

      • getSolver

        public OntologySolverBase getSolver()
        Return the OntologySolver with which this exception was constructed.
        Returns:
        the solver with which this exception was constructed. Guaranteed to be non-null.