Class ExceptionUtil
java.lang.Object
org.apache.derby.shared.common.error.ExceptionUtil
This class provides utility routines for exceptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getSeverityFromIdentifier
(String messageID) Get the severity given a message identifier from SQLState.static String
getSQLStateFromIdentifier
(String messageID) Convert a message identifer from org.apache.derby.shared.common.reference.SQLState to a SQLState five character string.
-
Constructor Details
-
ExceptionUtil
public ExceptionUtil()
-
-
Method Details
-
getSQLStateFromIdentifier
Convert a message identifer from org.apache.derby.shared.common.reference.SQLState to a SQLState five character string.- Parameters:
messageID
- - the sql state id of the message from Derby- Returns:
- String - the 5 character code of the SQLState ID to returned to the user
-
getSeverityFromIdentifier
Get the severity given a message identifier from SQLState.
-