Package ghidra.app.plugin.assembler
Class AssemblySemanticException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ghidra.app.plugin.assembler.AssemblyException
-
- ghidra.app.plugin.assembler.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
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<AssemblyResolvedError>
errors
-
Constructor Summary
Constructors Constructor Description AssemblySemanticException(java.lang.String message)
AssemblySemanticException(java.util.Set<AssemblyResolvedError> errors)
Construct a semantic exception with the associated semantic errors
-
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
-
-
-
Field Detail
-
errors
protected java.util.Set<AssemblyResolvedError> errors
-
-
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
-
-