org.apache.openejb.jee
Class ApplicationException
java.lang.Object
org.apache.openejb.jee.ApplicationException
public class ApplicationException
- extends Object
The application-exceptionType declares an application
exception. The declaration consists of:
- the exception class. When the container receives
an exception of this type, it is required to
forward this exception as an applcation exception
to the client regardless of whether it is a checked
or unchecked exception.
- an optional rollback element. If this element is
set to true, the container must rollback the current
transaction before forwarding the exception to the
client.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exceptionClass
protected String exceptionClass
rollback
protected boolean rollback
id
protected String id
ApplicationException
public ApplicationException()
ApplicationException
public ApplicationException(String exceptionClass,
boolean rollback)
getExceptionClass
public String getExceptionClass()
setExceptionClass
public void setExceptionClass(String value)
getRollback
public boolean getRollback()
setRollback
public void setRollback(boolean value)
getId
public String getId()
setId
public void setId(String value)
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.