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 void
handleError(Throwable t)
Opens anErrorDialog
that shows some information about the givenThrowable
.static void
showInformationDialog(String message)
Opens anMessageDialog
that displays the given message.
-
-
-
Method Detail
-
handleError
public static void handleError(Throwable t)
Opens anErrorDialog
that shows some information about the givenThrowable
.- Parameters:
t
- theThrowable
representing the error.
-
showInformationDialog
public static void showInformationDialog(String message)
Opens anMessageDialog
that displays the given message.- Parameters:
message
- the message to display.
-
-