com.metamatrix.console.util
Class ExceptionUtility
java.lang.Object
com.metamatrix.console.util.ExceptionUtility
public class ExceptionUtility
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR_DIALOG_DIR_KEY
public static final java.lang.String ERROR_DIALOG_DIR_KEY
- See Also:
- Constant Field Values
MSG_HOST_NOT_FOUND
public static final java.lang.String MSG_HOST_NOT_FOUND
MSG_COMP_NOT_FOUND
public static final java.lang.String MSG_COMP_NOT_FOUND
MSG_QUERY_SERVICE_NOT_FOUND
public static final java.lang.String MSG_QUERY_SERVICE_NOT_FOUND
MSG_AUTHORIZATION_FAILURE
public static final java.lang.String MSG_AUTHORIZATION_FAILURE
MSG_EXTERNAL_FAILURE
public static final java.lang.String MSG_EXTERNAL_FAILURE
MSG_ILLEGAL_REQUEST
public static final java.lang.String MSG_ILLEGAL_REQUEST
MSG_CANNOT_INITIALIZE
public static final java.lang.String MSG_CANNOT_INITIALIZE
MSG_CALLBACK_PROBLEM
public static final java.lang.String MSG_CALLBACK_PROBLEM
MSG_UNSPECIFIED_FAILURE
public static final java.lang.String MSG_UNSPECIFIED_FAILURE
TITLE_DEFAULT
public static final java.lang.String TITLE_DEFAULT
ExceptionUtility
public ExceptionUtility()
showMessage
public static void showMessage(java.lang.String text,
java.lang.String comment,
java.lang.Throwable thr)
showMessage
public static void showMessage(java.lang.String text,
java.lang.Throwable t)
showExternalFailureMessage
public static void showExternalFailureMessage(java.lang.String text,
java.lang.Exception e)
showCannotInitializeMessage
public static void showCannotInitializeMessage(java.lang.String text,
java.lang.Exception e)
containsExceptionOfType
public static boolean containsExceptionOfType(java.lang.Throwable ex,
java.lang.Class<? extends java.lang.Throwable> cls)
containsExceptionHavingCode
public static MetaMatrixException containsExceptionHavingCode(java.lang.Throwable ex,
java.lang.String code)
unRollException
public static java.lang.Throwable unRollException(java.lang.Throwable throwable)
- Unroll a chain of exceptions to return the cause.
- Returns:
- A
Throwable
exception that represents the cause of the problem.
Copyright © 2009. All Rights Reserved.