| org.jboss.test.entityexc.interfaces.EntityExc
EntityExc | public interface EntityExc extends EJBObject(Code) | | Remote interface of entity exception test bean.
author: Ole Husgaard version: $Revision: 57211 $ |
Method Summary | |
public int | getId() Return the id of this instance. | public int | getVal() Return the value of this instance. | public void | incrementVal() Increment the value of this instance by one. | public void | incrementVal(int flags) Increment the value of this instance by one, and fail according to
the failure argument afterwards.
This method has a Required transaction attribute. |
EXCEPTION_TEXT | final public String EXCEPTION_TEXT(Code) | | Text of Exception message thrown.
We check this to make sure we get our Exception.
|
EXC_CREATEEXCEPTION | final public int EXC_CREATEEXCEPTION(Code) | | Exception code for a CreateException .
This may be used in the flags sent to various methods
here, and in the home interface.
|
EXC_EJBEXCEPTION | final public int EXC_EJBEXCEPTION(Code) | | Exception code for a EJBException .
This may be used in the flags sent to various methods
here, and in the home interface.
|
EXC_MYAPPEXCEPTION | final public int EXC_MYAPPEXCEPTION(Code) | | Exception code for a
MyAppException].This may be used in the flags sent to various methodshere, and in the home interface. |
F_EXC_MASK | final public int F_EXC_MASK(Code) | | Flags exception code mask.
|
F_FAIL_POSTCREATE | final public int F_FAIL_POSTCREATE(Code) | | Flag telling that failure should not happen until the postCreate
method. Ignored for non-create invocations.
|
F_SETROLLBACKONLY | final public int F_SETROLLBACKONLY(Code) | | Flag telling that context.setRollbackOnly must be
called before returning.
|
F_THROW_BEFORE | final public int F_THROW_BEFORE(Code) | | Flag telling that an exception should be thrown
after the exception, and not before.
|
getVal | public int getVal() throws RemoteException(Code) | | Return the value of this instance.
This method really works.
|
incrementVal | public void incrementVal() throws RemoteException(Code) | | Increment the value of this instance by one.
|
incrementVal | public void incrementVal(int flags) throws MyAppException, RemoteException(Code) | | Increment the value of this instance by one, and fail according to
the failure argument afterwards.
This method has a Required transaction attribute.
|
|
|