Package ptolemy.moml
Class MissingClassException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.microstar.xml.XmlException
-
- ptolemy.moml.MissingClassException
-
- All Implemented Interfaces:
java.io.Serializable
public class MissingClassException extends XmlException
Thrown on an attempt to evaluate MoML that contains a missing class.This exception is used to catch missing classes in during cut and paste operations by
MoMLParser
.- Since:
- Ptolemy II 6.1
- Version:
- $Id$
- Author:
- Christopher Brooks
- See Also:
- Serialized Form
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Red (cxh)
-
-
Constructor Summary
Constructors Constructor Description MissingClassException(java.lang.String message, java.lang.String missingClassName, java.lang.String systemId, int line, int column)
Construct a new XML parsing exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
missingClassName()
Return the node name that caused the exception.-
Methods inherited from class com.microstar.xml.XmlException
getCause, getColumn, getLine, getMessage, getSystemId, printStackTrace, printStackTrace, printStackTrace, stackTraceToString
-
-
-
-
Constructor Detail
-
MissingClassException
public MissingClassException(java.lang.String message, java.lang.String missingClassName, java.lang.String systemId, int line, int column)
Construct a new XML parsing exception. } /** Constructs an Exception with a detail message that includes the name of the first argument.- Parameters:
message
- The error message from the parser.missingClassName
- The name of the missing class.systemId
- The URI of the entity containing the error.line
- The line number where the error appeared.column
- The column number where the error appeared.
-
-