This type of exception doesn't characterize the error by java type, but may still classify it by message and code. @author Chris Wilper
612613614615616617618619
if (log.isTraceEnabled()) log.trace(_loc.get("found-pcs", String.valueOf(names.size()), String.valueOf(System.currentTimeMillis() - start))); return (names.isEmpty()) ? null : names; } catch (IOException ioe) { throw new GeneralException(ioe); } }
599600601602603604605606607608609
_compiled = compilationFromCache(); return _compiled; } catch (OpenJPAException ke) { throw ke; } catch (RuntimeException re) { throw new GeneralException(re); } finally { _compiling = false; _readOnly = readOnly; } }
738739740741742743744745
} return new MergedExecutor(es); } catch (OpenJPAException ke) { throw ke; } catch (RuntimeException re) { throw new GeneralException(re); } }
971972973974975976977978979980981
} return results; } catch (OpenJPAException ke) { throw ke; } catch (RuntimeException re) { throw new GeneralException(re); } finally { findAllDepth--; if (findAllDepth == 0) _loading = null; endOperation();
1042104310441045104610471048104910501051
return _store.getDataStoreIdType(meta); } catch (OpenJPAException ke) { throw ke; } catch (RuntimeException re) { throw new GeneralException(re); } finally { endOperation(); } }
1091109210931094109510961097109810991100
throw ke; } catch (ClassCastException cce) { throw new UserException(_loc.get("bad-id-value", val, val.getClass().getName(), cls)).setCause(cce); } catch (RuntimeException re) { throw new GeneralException(re); } finally { endOperation(); } }
1376137713781379138013811382138313841385
return false; return trans.getStatus() == Status.STATUS_MARKED_ROLLBACK; } catch (OpenJPAException ke) { throw ke; } catch (Exception e) { throw new GeneralException(e); } finally { endOperation(); } }
1399140014011402140314041405140614071408
return null; } catch (OpenJPAException ke) { throw ke; } catch (Exception e) { throw new GeneralException(e); } finally { endOperation(); } }
14321433143414351436143714381439
throw new InvalidStateException(_loc.get("null-trans")); _runtime.setRollbackOnly(cause); } catch (OpenJPAException ke) { throw ke; } catch (Exception e) { throw new GeneralException(e); } }
1464146514661467146814691470147114721473
} _savepoints.put(name, save); } catch (OpenJPAException ke) { throw ke; } catch (Exception e) { throw new GeneralException(e); } finally { endOperation(); } }