Codota Logo
RegistryError.getErrorCode
Code IndexAdd Codota to your IDE (free)

How to use
getErrorCode
method
in
org.dcm4chee.xds2.infoset.rim.RegistryError

Best Java code snippets using org.dcm4chee.xds2.infoset.rim.RegistryError.getErrorCode (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: org.dcm4che/dcm4chee-xds2-tool-init

public static void initializeRegistry(List<String> filenames, boolean defaultInit, DocumentRegistryPortType docRegistry)  {
  for (String fn : filenames) {
      SubmitObjectsRequest req;
      try {
        req = getSubmitObjectsRequest(fn, defaultInit);
      } catch (FileNotFoundException | JAXBException e) {
        throw new RuntimeException(e);
      }
      RegistryResponseType rsp = docRegistry.documentRegistryRegisterDocumentSetB(req);
      if (!"urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success".equals(rsp.getStatus())){
        String errorMsg = "";
        int i = 1;
        for (RegistryError err : rsp.getRegistryErrorList().getRegistryError()) {
          errorMsg += (i++)+") "+err.getErrorCode()+" : "+err.getCodeContext()+"\n";
        }
        throw new RuntimeException(errorMsg);
      } 
  }
}
origin: org.dcm4che/dcm4chee-xds2-ws

if (!XDSException.XDS_ERR_UNKNOWN_PATID.equals(err.getErrorCode()))
  errors.add(err);
org.dcm4chee.xds2.infoset.rimRegistryErrorgetErrorCode

Javadoc

Gets the value of the errorCode property.

Popular methods of RegistryError

  • <init>
  • getCodeContext
    Gets the value of the codeContext property.
  • getLocation
    Gets the value of the location property.
  • setLocation
    Sets the value of the location property.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getApplicationContext (Context)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • JButton (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now