congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Log.getInvalidRegularExpressionException
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: cn.bestwu.simpleframework/simpleframework-web

public void initialize(ReversePattern parameters) {
  ReversePattern.Flag[] flags = parameters.flags();
  int intFlag = 0;
  for (ReversePattern.Flag flag : flags) {
    intFlag = intFlag | flag.getValue();
  }
  try {
    pattern = java.util.regex.Pattern.compile(parameters.regexp(), intFlag);
  } catch (PatternSyntaxException e) {
    throw LOG.getInvalidRegularExpressionException(e);
  }
}
origin: cn.bestwu.simpleframework/simpleframework-core

public void initialize(ReversePattern parameters) {
  ReversePattern.Flag[] flags = parameters.flags();
  int intFlag = 0;
  for (ReversePattern.Flag flag : flags) {
    intFlag = intFlag | flag.getValue();
  }
  try {
    pattern = java.util.regex.Pattern.compile(parameters.regexp(), intFlag);
  } catch (PatternSyntaxException e) {
    throw LOG.getInvalidRegularExpressionException(e);
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.hibernate-validator

@Override
public void initialize(Pattern parameters) {
  Pattern.Flag[] flags = parameters.flags();
  int intFlag = 0;
  for ( Pattern.Flag flag : flags ) {
    intFlag = intFlag | flag.getValue();
  }
  try {
    pattern = java.util.regex.Pattern.compile( parameters.regexp(), intFlag );
  }
  catch (PatternSyntaxException e) {
    throw log.getInvalidRegularExpressionException( e );
  }
  escapedRegexp = InterpolationHelper.escapeMessageParameter( parameters.regexp() );
}
origin: org.hibernate.validator/hibernate-validator

@Override
public void initialize(Pattern parameters) {
  Pattern.Flag[] flags = parameters.flags();
  int intFlag = 0;
  for ( Pattern.Flag flag : flags ) {
    intFlag = intFlag | flag.getValue();
  }
  try {
    pattern = java.util.regex.Pattern.compile( parameters.regexp(), intFlag );
  }
  catch (PatternSyntaxException e) {
    throw LOG.getInvalidRegularExpressionException( e );
  }
  escapedRegexp = InterpolationHelper.escapeMessageParameter( parameters.regexp() );
}
origin: org.hibernate.validator/hibernate-validator

@Override
public void initialize(Email emailAnnotation) {
  super.initialize( emailAnnotation );
  Pattern.Flag[] flags = emailAnnotation.flags();
  int intFlag = 0;
  for ( Pattern.Flag flag : flags ) {
    intFlag = intFlag | flag.getValue();
  }
  // we only apply the regexp if there is one to apply
  if ( !".*".equals( emailAnnotation.regexp() ) || emailAnnotation.flags().length > 0 ) {
    try {
      pattern = java.util.regex.Pattern.compile( emailAnnotation.regexp(), intFlag );
    }
    catch (PatternSyntaxException e) {
      throw LOG.getInvalidRegularExpressionException( e );
    }
  }
}
org.hibernate.validator.internal.util.loggingLoggetInvalidRegularExpressionException

Popular methods of Log

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

Popular in Java

  • Finding current android device location
  • setContentView (Activity)
  • onRequestPermissionsResult (Fragment)
  • setScale (BigDecimal)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JTable (javax.swing)
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top Sublime Text plugins
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