Tabnine Logo
Logger.severe
Code IndexAdd Tabnine to your IDE (free)

How to use
severe
method
in
liquibase.logging.Logger

Best Java code snippets using liquibase.logging.Logger.severe (Showing top 6 results out of 315)

origin: org.everit.osgi/org.everit.osgi.liquibase.bundle

@Override
public void fatalError(final SAXParseException exception) throws SAXException {
  LogFactory.getLogger().severe(exception.getMessage());
  throw exception;
}
origin: org.everit.osgi/org.everit.osgi.liquibase.bundle

@Override
public void error(final SAXParseException exception) throws SAXException {
  LogFactory.getLogger().severe(exception.getMessage());
  throw exception;
}
origin: liquibase/liquibase-hibernate

  @Override
  protected EntityManagerFactoryBuilder getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration, ClassLoader providedClassLoader) {
    try {
      setField(persistenceUnitDescriptor, "jtaDataSource", null);
      setField(persistenceUnitDescriptor, "transactionType", PersistenceUnitTransactionType.RESOURCE_LOCAL);
    } catch (Exception ex) {
      LogFactory.getInstance().getLog().severe(null, ex);
    }
    return super.getEntityManagerFactoryBuilder(persistenceUnitDescriptor, integration, providedClassLoader);
  }
}
origin: org.everit.osgi/org.everit.osgi.liquibase.bundle

log.severe("Error thrown as a SAXException: " + e.getMessage(), e);
throw new SAXException(databaseChangeLog.getPhysicalFilePath() + ": " + e.getMessage(), e);
origin: org.everit.osgi/org.everit.osgi.liquibase.bundle

log.severe("Error thrown as a SAXException: " + e.getMessage(), e);
e.printStackTrace();
throw new SAXException(e);
origin: OpenClinica/OpenClinica

private void generateRollbackFile(Liquibase liquibase) throws LiquibaseException {
  if (this.rollbackFile != null) {
    OutputStreamWriter output = null;
    try {
      output = new OutputStreamWriter(new FileOutputStream(this.rollbackFile), ((GlobalConfiguration)LiquibaseConfiguration.getInstance().getConfiguration(GlobalConfiguration.class)).getOutputEncoding());
      if (this.tag != null) {
        liquibase.futureRollbackSQL(this.tag, new Contexts(this.getContexts()), new LabelExpression(this.getLabels()), output);
      } else {
        liquibase.futureRollbackSQL(new Contexts(this.getContexts()), new LabelExpression(this.getLabels()), output);
      }
    } catch (IOException var11) {
      throw new LiquibaseException("Unable to generate rollback file.", var11);
    } finally {
      try {
        if (output != null) {
          output.close();
        }
      } catch (IOException var10) {
        this.log.severe("Error closing output", var10);
      }
    }
  }
}
liquibase.loggingLoggersevere

Popular methods of Logger

  • info
  • warning
  • debug
  • setLogLevel

Popular in Java

  • Finding current android device location
  • setContentView (Activity)
  • onRequestPermissionsResult (Fragment)
  • getExternalFilesDir (Context)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now