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

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

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

origin: org.hibernate.validator/hibernate-validator

private void assertGroupsParameterExists(Class<? extends Annotation> annotationType) {
  try {
    final Method method = run( GetMethod.action( annotationType, GROUPS ) );
    if ( method == null ) {
      throw LOG.getConstraintWithoutMandatoryParameterException( GROUPS, annotationType.getName() );
    }
    Class<?>[] defaultGroups = (Class<?>[]) method.getDefaultValue();
    if ( defaultGroups == null || defaultGroups.length != 0 ) {
      throw LOG.getWrongDefaultValueForGroupsParameterException( annotationType.getName() );
    }
  }
  catch (ClassCastException e) {
    throw LOG.getWrongTypeForGroupsParameterException( annotationType.getName(), e );
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.hibernate-validator

private void assertGroupsParameterExists(Class<? extends Annotation> annotationType) {
  try {
    final Method method = run( GetMethod.action( annotationType, GROUPS ) );
    if ( method == null ) {
      throw log.getConstraintWithoutMandatoryParameterException( GROUPS, annotationType.getName() );
    }
    Class<?>[] defaultGroups = (Class<?>[]) method.getDefaultValue();
    if ( defaultGroups.length != 0 ) {
      throw log.getWrongDefaultValueForGroupsParameterException( annotationType.getName() );
    }
  }
  catch (ClassCastException e) {
    throw log.getWrongTypeForGroupsParameterException( annotationType.getName(), e );
  }
}
org.hibernate.validator.internal.util.loggingLoggetWrongDefaultValueForGroupsParameterException

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

  • Updating database using SQL prepared statement
  • findViewById (Activity)
  • setContentView (Activity)
  • scheduleAtFixedRate (Timer)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Runner (org.openjdk.jmh.runner)
  • 21 Best IntelliJ Plugins
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