|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.prorefactor.refactor.RefactorException
public class RefactorException
Exception to be thrown only by the refactoring libraries, especially ScanLib, Refactor, etc. These exceptions thrown from the refactoring libraries are intended to help the programmer (me!) more easily track down mistakes made when writing new refactorings.
Constructor Summary | |
---|---|
RefactorException(java.io.File file,
int line,
int col,
java.lang.String message)
Create an exception where we don't have a file index. |
|
RefactorException(int[] pos,
java.lang.String inMessage)
Create an exception with "filename:line:col message" as the text. |
|
RefactorException(int node,
java.lang.String inMessage)
Create an exception with "filename:line:col message" as the text. |
|
RefactorException(java.lang.String message)
|
|
RefactorException(java.lang.String message,
java.lang.Throwable cause)
|
|
RefactorException(java.lang.Throwable cause)
|
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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 |
---|
public RefactorException(java.lang.String message)
public RefactorException(java.lang.Throwable cause)
public RefactorException(java.lang.String message, java.lang.Throwable cause)
public RefactorException(int node, java.lang.String inMessage)
h
- A handle to the node (or scanner token) to get file:line:col from.message
- public RefactorException(int[] pos, java.lang.String inMessage)
pos
- An int[3] file/line/column positionmessage
- public RefactorException(java.io.File file, int line, int col, java.lang.String message)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |