Class AssemblySemanticException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AssemblySemanticException
    extends AssemblyException
    Thrown when all resolutions of an assembly instruction result in semantic errors. For SLEIGH, semantic errors amount to incompatible contexts
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<AssemblyResolvedError> getErrors()
      Get the collection of associated semantic errors
      • 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

      • AssemblySemanticException

        public AssemblySemanticException​(java.lang.String message)
      • AssemblySemanticException

        public AssemblySemanticException​(java.util.Set<AssemblyResolvedError> errors)
        Construct a semantic exception with the associated semantic errors
        Parameters:
        errors - the associated semantic errors
    • Method Detail

      • getErrors

        public java.util.Collection<AssemblyResolvedError> getErrors()
        Get the collection of associated semantic errors
        Returns:
        the collection