Class ErrorHandler
- java.lang.Object
-
- org.palladiosimulator.pcmtx.pcmtxviews.util.ErrorHandler
-
public class ErrorHandler extends Object
This class represents a handler for errors.
-
-
Constructor Summary
Constructors Constructor Description ErrorHandler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidhandleError(Throwable t)Opens anErrorDialogthat shows some information about the givenThrowable.static voidshowInformationDialog(String message)Opens anMessageDialogthat displays the given message.
-
-
-
Method Detail
-
handleError
public static void handleError(Throwable t)
Opens anErrorDialogthat shows some information about the givenThrowable.- Parameters:
t- theThrowablerepresenting the error.
-
showInformationDialog
public static void showInformationDialog(String message)
Opens anMessageDialogthat displays the given message.- Parameters:
message- the message to display.
-
-