congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ErrorDocumentServiceException.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
net.sf.taverna.t2.reference.ErrorDocumentServiceException
constructor

Best Java code snippets using net.sf.taverna.t2.reference.ErrorDocumentServiceException.<init> (Showing top 20 results out of 315)

origin: net.sf.taverna.t2.core/reference-impl

/**
 * Check that the t2reference generator is configured
 * 
 * @throws ListServiceException
 *             if the generator is still null
 */
protected final void checkGenerator() throws ErrorDocumentServiceException {
  if (t2ReferenceGenerator == null) {
    throw new ErrorDocumentServiceException(
        "T2ReferenceGenerator not initialized, error document "
            + "service operations not available");
  }
}
origin: net.sf.taverna.t2/t2reference-impl

/**
 * Check that the t2reference generator is configured
 * 
 * @throws ListServiceException
 *             if the generator is still null
 */
protected final void checkGenerator() throws ErrorDocumentServiceException {
  if (t2ReferenceGenerator == null) {
    throw new ErrorDocumentServiceException(
        "T2ReferenceGenerator not initialized, error document "
            + "service operations not available");
  }
}
origin: net.sf.taverna.t2.core/reference-impl

/**
 * Check that the list dao is configured
 * 
 * @throws ListServiceException
 *             if the dao is still null
 */
protected final void checkDao() throws ErrorDocumentServiceException {
  if (errorDao == null) {
    throw new ErrorDocumentServiceException(
        "ErrorDocumentDao not initialized, error document "
            + "service operations are not available");
  }
}
origin: net.sf.taverna.t2/t2reference-impl

/**
 * Check that the list dao is configured
 * 
 * @throws ListServiceException
 *             if the dao is still null
 */
protected final void checkDao() throws ErrorDocumentServiceException {
  if (errorDao == null) {
    throw new ErrorDocumentServiceException(
        "ErrorDocumentDao not initialized, error document "
            + "service operations are not available");
  }
}
origin: net.sf.taverna.t2/reference-impl

/**
 * Check that the list dao is configured
 * 
 * @throws ListServiceException
 *             if the dao is still null
 */
protected final void checkDao() throws ErrorDocumentServiceException {
  if (errorDao == null) {
    throw new ErrorDocumentServiceException(
        "ErrorDocumentDao not initialized, error document "
            + "service operations are not available");
  }
}
origin: net.sf.taverna.t2/reference-impl

public ErrorDocument getError(T2Reference id)
    throws ErrorDocumentServiceException {
  checkDao();
  try {
    return errorDao.get(id);
  } catch (Throwable t) {
    throw new ErrorDocumentServiceException(t);
  }
}
origin: net.sf.taverna.t2.core/reference-impl

public ErrorDocument getError(T2Reference id)
    throws ErrorDocumentServiceException {
  checkDao();
  try {
    return errorDao.get(id);
  } catch (Throwable t) {
    throw new ErrorDocumentServiceException(t);
  }
}
origin: net.sf.taverna.t2.core/reference-impl

public T2Reference getChild(T2Reference errorId)
    throws ErrorDocumentServiceException {
  T2ReferenceImpl refImpl = T2ReferenceImpl.getAsImpl(errorId);
  try {
    return refImpl.getDeeperErrorReference();
  } catch (Throwable t) {
    throw new ErrorDocumentServiceException(t);
  }
}
origin: net.sf.taverna.t2/t2reference-impl

public ErrorDocument getError(T2Reference id)
    throws ErrorDocumentServiceException {
  checkDao();
  try {
    return errorDao.get(id);
  } catch (Throwable t) {
    throw new ErrorDocumentServiceException(t);
  }
}
origin: net.sf.taverna.t2/t2reference-impl

public T2Reference getChild(T2Reference errorId)
    throws ErrorDocumentServiceException {
  T2ReferenceImpl refImpl = T2ReferenceImpl.getAsImpl(errorId);
  try {
    return refImpl.getDeeperErrorReference();
  } catch (Throwable t) {
    throw new ErrorDocumentServiceException(t);
  }
}
origin: net.sf.taverna.t2/reference-impl

public T2Reference getChild(T2Reference errorId)
    throws ErrorDocumentServiceException {
  T2ReferenceImpl refImpl = T2ReferenceImpl.getAsImpl(errorId);
  try {
    return refImpl.getDeeperErrorReference();
  } catch (Throwable t) {
    throw new ErrorDocumentServiceException(t);
  }
}
origin: net.sf.taverna.t2/reference-impl

public final void getErrorAsynch(final T2Reference id,
    final ErrorDocumentServiceCallback callback)
    throws ErrorDocumentServiceException {
  checkDao();
  Runnable r = new Runnable() {
    public void run() {
      try {
        ErrorDocument e = errorDao.get(id);
        callback.errorRetrieved(e);
      } catch (DaoException de) {
        callback
            .errorRetrievalFailed(new ErrorDocumentServiceException(
                de));
      }
    }
  };
  executeRunnable(r);
}
origin: net.sf.taverna.t2.core/reference-impl

  public void run() {
    try {
      ErrorDocument e = errorDao.get(id);
      callback.errorRetrieved(e);
    } catch (DaoException de) {
      callback
          .errorRetrievalFailed(new ErrorDocumentServiceException(
              de));
    }
  }
};
origin: net.sf.taverna.t2/t2reference-impl

  public void run() {
    try {
      ErrorDocument e = errorDao.get(id);
      callback.errorRetrieved(e);
    } catch (DaoException de) {
      callback
          .errorRetrievalFailed(new ErrorDocumentServiceException(
              de));
    }
  }
};
origin: net.sf.taverna.t2/reference-impl

  public void run() {
    try {
      ErrorDocument e = errorDao.get(id);
      callback.errorRetrieved(e);
    } catch (DaoException de) {
      callback
          .errorRetrievalFailed(new ErrorDocumentServiceException(
              de));
    }
  }
};
origin: net.sf.taverna.t2.core/reference-impl

  errorDao.store(edi);
} catch (Throwable t2) {
  throw new ErrorDocumentServiceException(t2);
origin: net.sf.taverna.t2/t2reference-impl

  errorDao.store(edi);
} catch (Throwable t2) {
  throw new ErrorDocumentServiceException(t2);
origin: net.sf.taverna.t2.core/reference-impl

  errorDao.store(edi);
} catch (Throwable t2) {
  throw new ErrorDocumentServiceException(t2);
origin: net.sf.taverna.t2/t2reference-impl

  errorDao.store(edi);
} catch (Throwable t2) {
  throw new ErrorDocumentServiceException(t2);
origin: net.sf.taverna.t2/reference-impl

  errorDao.store(edi);
} catch (Throwable t2) {
  throw new ErrorDocumentServiceException(t2);
net.sf.taverna.t2.referenceErrorDocumentServiceException<init>

Popular methods of ErrorDocumentServiceException

    Popular in Java

    • Reading from database using SQL prepared statement
    • getSystemService (Context)
    • scheduleAtFixedRate (ScheduledExecutorService)
    • findViewById (Activity)
    • Font (java.awt)
      The Font class represents fonts, which are used to render text in a visible way. A font provides the
    • Collection (java.util)
      Collection is the root of the collection hierarchy. It defines operations on data collections and t
    • TimeUnit (java.util.concurrent)
      A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
    • Pattern (java.util.regex)
      Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
    • ImageIO (javax.imageio)
    • JFileChooser (javax.swing)
    • Best plugins for Eclipse
    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