org.eclipse.xtext.ui.refactoring.impl
Class RefactoringStatusException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.xtext.ui.refactoring.impl.RefactoringStatusException
All Implemented Interfaces:
java.io.Serializable

public class RefactoringStatusException
extends java.lang.RuntimeException

A convenient way to stop calculation of refactoring changes. The message will be reported to the RefactoringStatus and thus to the UI. For any other exception, the stack trace is logged to the console additionally.

Author:
Jan Koehnlein - Initial contribution and API
See Also:
Serialized Form

Constructor Summary
RefactoringStatusException(java.lang.String message, boolean isFatal)
           
RefactoringStatusException(java.lang.Throwable cause, boolean isFatal)
           
 
Method Summary
 boolean isFatal()
           
 
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

RefactoringStatusException

public RefactoringStatusException(java.lang.Throwable cause,
                                  boolean isFatal)
Since:
2.0

RefactoringStatusException

public RefactoringStatusException(java.lang.String message,
                                  boolean isFatal)
Method Detail

isFatal

public boolean isFatal()