Package com.dbdeploy.exceptions

Examples of com.dbdeploy.exceptions.UnrecognisedFilenameException


  }

  public long extractIdFromFilename(String filename) throws UnrecognisedFilenameException {
    Matcher matches = pattern.matcher(filename);
    if (!matches.matches() || matches.groupCount() != 1)
      throw new UnrecognisedFilenameException("Could not extract a change script number from filename: " + filename);
   
    return Long.parseLong(matches.group(1));
   }
View Full Code Here

TOP

Related Classes of com.dbdeploy.exceptions.UnrecognisedFilenameException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.