public class DatabaseErrorMessageConverter extends Object
| Constructor and Description |
|---|
DatabaseErrorMessageConverter() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getMessageKey(@NonNull String database,
@NonNull 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–2020 Atlassian. All rights reserved.