#1614 - Refactor DbMigration.generateMigration() to use System out to log key messages and throw UnknownResourcePathException

This commit is contained in:
rob bygrave
2019-01-22 01:08:15 +13:00
parent 31fd0b7ed5
commit ef3d911e19
3 changed files with 62 additions and 10 deletions
@@ -0,0 +1,14 @@
package io.ebeaninternal.dbmigration;
/**
* Exception when db migration resource path does not exist.
* <p>
* Typically the working directory or pathToResources is incorrect.
* </p>
*/
public class UnknownResourcePathException extends RuntimeException {
public UnknownResourcePathException(String msg) {
super(msg);
}
}