public class DatabaseErrorMessageConverter extends Object
| Constructor and Description |
|---|
DatabaseErrorMessageConverter() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getMessageKey(String database,
SQLException exception)
Get the error message title based on what the database and error.
|
public static String getMessageKey(@Nonnull String database, @Nonnull SQLException exception)
database - the possible list of databases. see DatabaseList.getDatabases() for full list.exception - the sql exception.Copyright © 2003–2017 Atlassian. All rights reserved.