Package org.eclipse.compare.internal
Class ExceptionHandler
java.lang.Object
org.eclipse.compare.internal.ExceptionHandler
The default exception handler shows an error dialog when one of its handle methods
 is called. If the passed exception is a 
CoreException an error dialog
 pops up showing the exception's status information. For a InvocationTargetException
 a normal message dialog pops up showing the exception's message. Additionally the exception
 is written to the platform log.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidhandle(InvocationTargetException e, String title, String message) Handles the givenInvocationTargetException.static voidhandle(InvocationTargetException e, Shell parent, String title, String message) Handles the givenInvocationTargetException.static voidhandle(CoreException e, String title, String message) Handles the givenCoreException.static voidhandle(CoreException e, Shell parent, String title, String message) Handles the givenCoreException.static voidprotected voidperform(InvocationTargetException e, Shell shell, String title, String message) protected voidperform(CoreException e, Shell shell, String title, String message) 
- 
Constructor Details- 
ExceptionHandlerpublic ExceptionHandler()
 
- 
- 
Method Details- 
log
- 
handleHandles the givenCoreException. The workbench shell is used as a parent for the dialog window.- Parameters:
- e- the- CoreExceptionto be handled
- title- the dialog window's window title
- message- message to be displayed by the dialog window
 
- 
handleHandles the givenCoreException.- Parameters:
- e- the- CoreExceptionto be handled
- parent- the dialog window's parent shell
- title- the dialog window's window title
- message- message to be displayed by the dialog window
 
- 
handleHandles the givenInvocationTargetException. The workbench shell is used as a parent for the dialog window.- Parameters:
- e- the- InvocationTargetExceptionto be handled
- title- the dialog window's window title
- message- message to be displayed by the dialog window
 
- 
handleHandles the givenInvocationTargetException.- Parameters:
- e- the- InvocationTargetExceptionto be handled
- parent- the dialog window's parent shell
- title- the dialog window's window title
- message- message to be displayed by the dialog window
 
- 
perform
- 
perform
 
-