Tabnine Logo
Log.getGroupConversionOnNonCascadingElementException
Code IndexAdd Tabnine to your IDE (free)

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

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

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

public void validateGroupConversions(boolean isCascaded, String location) {
  //group conversions may only be configured for cascadable elements
  if ( !isCascaded && !groupConversions.isEmpty() ) {
    throw log.getGroupConversionOnNonCascadingElementException( location );
  }
  //group conversions may not be configured using a sequence as source
  for ( Class<?> oneGroup : groupConversions.keySet() ) {
    if ( isGroupSequence( oneGroup ) ) {
      throw log.getGroupConversionForSequenceException( oneGroup );
    }
  }
}
origin: org.hibernate.validator/hibernate-validator

private void validateGroupConversions(Object context) {
  // group conversions may only be configured for cascadable elements
  if ( !cascading && !groupConversions.isEmpty() ) {
    throw LOG.getGroupConversionOnNonCascadingElementException( context );
  }
  // group conversions may not be configured using a sequence as source
  for ( Class<?> group : groupConversions.keySet() ) {
    if ( group.isAnnotationPresent( GroupSequence.class ) ) {
      throw LOG.getGroupConversionForSequenceException( group );
    }
  }
  for ( CascadingMetaDataBuilder containerElementCascadingTypeParameter : containerElementTypesCascadingMetaData.values() ) {
    containerElementCascadingTypeParameter.validateGroupConversions( context );
  }
}
org.hibernate.validator.internal.util.loggingLoggetGroupConversionOnNonCascadingElementException

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
  • getExternalFilesDir (Context)
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • JOptionPane (javax.swing)
  • Top 12 Jupyter Notebook Extensions
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