congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Log.getInconsistentFailFastConfigurationException
Code IndexAdd Tabnine to your IDE (free)

How to use
getInconsistentFailFastConfigurationException
method
in
org.hibernate.validator.internal.util.logging.Log

Best Java code snippets using org.hibernate.validator.internal.util.logging.Log.getInconsistentFailFastConfigurationException (Showing top 2 results out of 315)

origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.hibernate-validator

private boolean checkPropertiesForBoolean(Map<String, String> properties, String propertyKey, boolean programmaticValue) {
  boolean value = programmaticValue;
  String propertyStringValue = properties.get( propertyKey );
  if ( propertyStringValue != null ) {
    boolean configurationValue = Boolean.valueOf( propertyStringValue );
    // throw an exception if the programmatic value is true and it overrides a false configured value
    if ( programmaticValue && !configurationValue ) {
      throw log.getInconsistentFailFastConfigurationException();
    }
    value = configurationValue;
  }
  return value;
}
origin: org.hibernate.validator/hibernate-validator

private static boolean getFailFast(ConfigurationImpl configuration, Map<String, String> properties) {
  // check whether fail fast is programmatically enabled
  boolean tmpFailFast = configuration != null ? configuration.getFailFast() : false;
  String propertyStringValue = properties.get( HibernateValidatorConfiguration.FAIL_FAST );
  if ( propertyStringValue != null ) {
    boolean configurationValue = Boolean.valueOf( propertyStringValue );
    // throw an exception if the programmatic value is true and it overrides a false configured value
    if ( tmpFailFast && !configurationValue ) {
      throw LOG.getInconsistentFailFastConfigurationException();
    }
    tmpFailFast = configurationValue;
  }
  return tmpFailFast;
}
org.hibernate.validator.internal.util.loggingLoggetInconsistentFailFastConfigurationException

Popular methods of Log

  • getInvalidRegularExpressionException
  • getInvalidLengthForFractionPartException
  • getInvalidLengthForIntegerPartException
  • getLengthCannotBeNegativeException
  • getMaxCannotBeNegativeException
  • getMinCannotBeNegativeException
  • debug
  • debugf
  • errorInExpressionLanguage
  • evaluatingExpressionLanguageExpressionCausedException
  • getAnnotationDoesNotContainAParameterException
  • getAtLeastOneCustomMessageMustBeCreatedException
  • getAnnotationDoesNotContainAParameterException,
  • getAtLeastOneCustomMessageMustBeCreatedException,
  • getAtLeastOneGroupHasToBeSpecifiedException,
  • getAttemptToSpecifyAnArrayWhereSingleValueIsExpectedException,
  • getBeanClassHasAlreadyBeConfiguredViaProgrammaticApiException,
  • getBeanClassMustBePartOfRedefinedDefaultGroupSequenceException,
  • getBeanDoesNotContainConstructorException,
  • getBeanDoesNotContainMethodException,
  • getBeanDoesNotContainTheFieldException,
  • getBeanDoesNotContainThePropertyException

Popular in Java

  • Running tasks concurrently on multiple threads
  • addToBackStack (FragmentTransaction)
  • runOnUiThread (Activity)
  • getSystemService (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JFrame (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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