Package ghidra.app.plugin.assembler

# Class AssemblySyntaxException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ghidra.app.plugin.assembler.AssemblyException
ghidra.app.plugin.assembler.AssemblySyntaxException

All Implemented Interfaces:
  `Serializable`

public class AssemblySyntaxException extends AssemblyException
Thrown when all parses of an assembly instruction result in syntax errors.

See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected Set<AssemblyParseResult>`
  `errors`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AssemblySyntaxException(String message)`
  `AssemblySyntaxException(Set<AssemblyParseResult> errors)`
  Construct a syntax exception with the associated syntax errors

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Collection<AssemblyParseResult>`
  `getErrors()`
  Get the collection of associated syntax 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`

- ## Field Details

  - ### errors

    protected Set<AssemblyParseResult> errors

- ## Constructor Details

  - ### AssemblySyntaxException

    public AssemblySyntaxException(String message)

  - ### AssemblySyntaxException

    public AssemblySyntaxException(Set<AssemblyParseResult> errors)
    Construct a syntax exception with the associated syntax errors
    Parameters:
      `errors` - the associated syntax errors

- ## Method Details

  - ### getErrors

    public Collection<AssemblyParseResult> getErrors()
    Get the collection of associated syntax errors
    Returns:
      the collection