public class ResourceUtil extends Object
| Constructor and Description |
|---|
ResourceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
handleException(String msg,
Throwable e)
To handle exceptions
|
static String |
pickQueryFromResources(String migrateVersion)
This method picks the query according to the users database
|
public static String pickQueryFromResources(String migrateVersion) throws SQLException, ISMigrationException, IOException
migrateVersion - migrate versionSQLExceptionISMigrationExceptionIOExceptionpublic static void handleException(String msg, Throwable e) throws ISMigrationException
msg - error messageISMigrationExceptionCopyright © 2007–2015 WSO2. All rights reserved.