public class TreeWalkException
extends java.lang.RuntimeException
PatternEngine
tree walk.Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
copyAstId
ID of the copy AST
|
private java.lang.String |
filename
Name of the file associated with the tree being walked
|
private java.lang.Long |
sourceAstId
ID of the source AST
|
Constructor and Description |
---|
TreeWalkException(java.lang.String message,
java.lang.Throwable thr)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCopyAstId()
Copy AST ID accessor.
|
java.lang.String |
getFilename()
Associated file name accessor.
|
java.lang.Long |
getSourceAstId()
Source AST ID accessor.
|
void |
setCopyAstId(java.lang.Long copyAstId)
Copy AST ID mutator.
|
void |
setFilename(java.lang.String filename)
Associated file name mutator.
|
void |
setSourceAstId(java.lang.Long sourceAstId)
Source AST ID mutator.
|
private java.lang.Long sourceAstId
private java.lang.Long copyAstId
private java.lang.String filename
public TreeWalkException(java.lang.String message, java.lang.Throwable thr)
message
- Error message.thr
- Root cause.public java.lang.Long getSourceAstId()
public void setSourceAstId(java.lang.Long sourceAstId)
sourceAstId
- The source AST ID to set.public java.lang.Long getCopyAstId()
public void setCopyAstId(java.lang.Long copyAstId)
copyAstId
- The copy AST ID to set.public java.lang.String getFilename()
public void setFilename(java.lang.String filename)
filename
- The filename to set.