Tabnine Logo
ValidationContext.addFatal
Code IndexAdd Tabnine to your IDE (free)

How to use
addFatal
method
in
org.jibx.binding.model.ValidationContext

Best Java code snippets using org.jibx.binding.model.ValidationContext.addFatal (Showing top 2 results out of 315)

origin: org.apache.axis2/axis2-jibx

  public boolean visit(IncludeElement node) {
    try {
      // force creation of defintions context for containing binding
      m_context.getFormatDefinitions();
      node.prevalidate(m_context);
    } catch (Throwable t) {
      m_context.addFatal("Error during validation: " +
          t.getMessage());
      t.printStackTrace();
      return false;
    }
    return true;
  }
}
origin: apache/axis2-java

  public boolean visit(IncludeElement node) {
    try {
      // force creation of defintions context for containing binding
      m_context.getFormatDefinitions();
      node.prevalidate(m_context);
    } catch (Throwable t) {
      m_context.addFatal("Error during validation: " +
          t.getMessage());
      t.printStackTrace();
      return false;
    }
    return true;
  }
}
org.jibx.binding.modelValidationContextaddFatal

Popular methods of ValidationContext

  • getErrorCount
  • getFatalCount
  • getProblems
  • setBindingRoot
  • tourTree
  • getFormatDefinitions
  • <init>
  • addError
  • addWarning
  • getParentElement

Popular in Java

  • Finding current android device location
  • addToBackStack (FragmentTransaction)
  • runOnUiThread (Activity)
  • putExtra (Intent)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • From CI to AI: The AI layer in your organization
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