| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: stack traces for all live threads as a string or an error message.Dumps stack traces for all the threads if the JVM supports it. |
| public static int | Returns: the constant representing the severity, as defined inorg..the string carrying the SQL state messageID)Get the severity given a message identifier from |
| public static String | Returns: String - the 5 character code of the SQLState ID to returned to the user- the sql state id of the message from Derby messageID)Convert a message identifier from org.apache.derby.shared.common.reference.SQLState to a SQLState five character string. |
| public static boolean | Returns: see method descriptionthe string with the SQL state e)Determine if the given |
| ExceptionUtil | back to summary |
|---|---|
| public ExceptionUtil() | |
| dumpThreads | back to summary |
|---|---|
| public static String dumpThreads() Dumps stack traces for all the threads if the JVM supports it. The result is returned as a string, ready to print. If the JVM doesn't have the method Thread.getAllStackTraces i.e, we are on a JVM < 1.5, or if we don't have the permissions: java.lang.RuntimePermission "getStackTrace" and "modifyThreadGroup", a message saying so is returned instead.
| |
| getSeverityFromIdentifier | back to summary |
|---|---|
| public static int getSeverityFromIdentifier(String messageID) Get the severity given a message identifier from
| |
| getSQLStateFromIdentifier | back to summary |
|---|---|
| public static String getSQLStateFromIdentifier(String messageID) Convert a message identifier from org.apache.derby.shared.common.reference.SQLState to a SQLState five character string. | |
| isDeferredConstraintViolation | back to summary |
|---|---|
| public static boolean isDeferredConstraintViolation(String e) Determine if the given
| |