/** * 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"); } }
/** * 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"); } }
/** * 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"); } }
/** * 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"); } }
/** * 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"); } }
public ErrorDocument getError(T2Reference id) throws ErrorDocumentServiceException { checkDao(); try { return errorDao.get(id); } catch (Throwable t) { throw new ErrorDocumentServiceException(t); } }
public ErrorDocument getError(T2Reference id) throws ErrorDocumentServiceException { checkDao(); try { return errorDao.get(id); } catch (Throwable t) { throw new ErrorDocumentServiceException(t); } }
public T2Reference getChild(T2Reference errorId) throws ErrorDocumentServiceException { T2ReferenceImpl refImpl = T2ReferenceImpl.getAsImpl(errorId); try { return refImpl.getDeeperErrorReference(); } catch (Throwable t) { throw new ErrorDocumentServiceException(t); } }
public ErrorDocument getError(T2Reference id) throws ErrorDocumentServiceException { checkDao(); try { return errorDao.get(id); } catch (Throwable t) { throw new ErrorDocumentServiceException(t); } }
public T2Reference getChild(T2Reference errorId) throws ErrorDocumentServiceException { T2ReferenceImpl refImpl = T2ReferenceImpl.getAsImpl(errorId); try { return refImpl.getDeeperErrorReference(); } catch (Throwable t) { throw new ErrorDocumentServiceException(t); } }
public T2Reference getChild(T2Reference errorId) throws ErrorDocumentServiceException { T2ReferenceImpl refImpl = T2ReferenceImpl.getAsImpl(errorId); try { return refImpl.getDeeperErrorReference(); } catch (Throwable t) { throw new ErrorDocumentServiceException(t); } }
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); }
public void run() { try { ErrorDocument e = errorDao.get(id); callback.errorRetrieved(e); } catch (DaoException de) { callback .errorRetrievalFailed(new ErrorDocumentServiceException( de)); } } };
public void run() { try { ErrorDocument e = errorDao.get(id); callback.errorRetrieved(e); } catch (DaoException de) { callback .errorRetrievalFailed(new ErrorDocumentServiceException( de)); } } };
public void run() { try { ErrorDocument e = errorDao.get(id); callback.errorRetrieved(e); } catch (DaoException de) { callback .errorRetrievalFailed(new ErrorDocumentServiceException( de)); } } };
errorDao.store(edi); } catch (Throwable t2) { throw new ErrorDocumentServiceException(t2);
errorDao.store(edi); } catch (Throwable t2) { throw new ErrorDocumentServiceException(t2);
errorDao.store(edi); } catch (Throwable t2) { throw new ErrorDocumentServiceException(t2);
errorDao.store(edi); } catch (Throwable t2) { throw new ErrorDocumentServiceException(t2);
errorDao.store(edi); } catch (Throwable t2) { throw new ErrorDocumentServiceException(t2);