Skip to content

Commit

Permalink
BugID: 1050 - Modifiche Articolo 18
Browse files Browse the repository at this point in the history
  • Loading branch information
rpagano committed Jan 22, 2013
1 parent 11f3ea5 commit 5d0ae6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -22,7 +22,7 @@ public Incarichi_proceduraHome(Connection conn) {
public Incarichi_proceduraHome(Connection conn, PersistentCache persistentCache) {
super(Incarichi_proceduraBulk.class, conn, persistentCache);
}
public void initializePrimaryKeyForInsert(it.cnr.jada.UserContext userContext, OggettoBulk bulk) throws PersistencyException {
public void initializePrimaryKeyForInsert(it.cnr.jada.UserContext userContext, OggettoBulk bulk) throws PersistencyException, it.cnr.jada.comp.ComponentException {
try {
((Incarichi_proceduraBulk)bulk).setEsercizio(it.cnr.contab.utenze00.bp.CNRUserContext.getEsercizio(userContext));
((Incarichi_proceduraBulk)bulk).setPg_procedura(
Expand All @@ -31,7 +31,7 @@ public void initializePrimaryKeyForInsert(it.cnr.jada.UserContext userContext, O
)
);
} catch(it.cnr.jada.bulk.BusyResourceException e) {
throw new PersistencyException(e);
throw new it.cnr.jada.comp.ApplicationException("Operazione effettuata al momento da un'altro utente, riprovare successivamente.");
}
}
public java.util.List findIncarichi_procedura_annoList( it.cnr.jada.UserContext userContext,Incarichi_proceduraBulk procedura ) throws IntrospectionException,PersistencyException
Expand Down
Expand Up @@ -23,7 +23,7 @@ public Incarichi_repertorioHome(Connection conn) {
public Incarichi_repertorioHome(Connection conn, PersistentCache persistentCache) {
super(Incarichi_repertorioBulk.class, conn, persistentCache);
}
public void initializePrimaryKeyForInsert(it.cnr.jada.UserContext userContext, OggettoBulk bulk) throws PersistencyException {
public void initializePrimaryKeyForInsert(it.cnr.jada.UserContext userContext, OggettoBulk bulk) throws PersistencyException, it.cnr.jada.comp.ComponentException {
try {
((Incarichi_repertorioBulk)bulk).setEsercizio(it.cnr.contab.utenze00.bp.CNRUserContext.getEsercizio(userContext));
((Incarichi_repertorioBulk)bulk).setPg_repertorio(
Expand All @@ -32,7 +32,7 @@ public void initializePrimaryKeyForInsert(it.cnr.jada.UserContext userContext, O
)
);
} catch(it.cnr.jada.bulk.BusyResourceException e) {
throw new PersistencyException(e);
throw new it.cnr.jada.comp.ApplicationException("Operazione effettuata al momento da un'altro utente, riprovare successivamente.");
}
}
public java.util.List findIncarichi_repertorio_annoList( it.cnr.jada.UserContext userContext,Incarichi_repertorioBulk increp ) throws IntrospectionException,PersistencyException
Expand Down

0 comments on commit 5d0ae6c

Please sign in to comment.