Library:J2EE
Version:1.4
Compatibility:JDK 1.4
Exceptions in library J2EE.
NamePackageDescription
AccessLocalExceptionjavax.ejbAn AccessLocalException is thrown to indicate that the caller does not have permission to call the method.
ApplicationServerInternalExceptionjavax.resource.spiA ApplicationServerInternalException is thrown to indicate error conditions specific to the Applcation server.
BeanNotFoundExceptionjavax.enterprise.deploy.spi.exceptionsErrors when a bean is not found
ClientExecuteExceptionjavax.enterprise.deploy.spi.exceptionsErrors setting up an application client
CommExceptionjavax.resource.spiA CommException indicates error conditions related to failed or interrupted communication with an underlying resource.
ConfigurationExceptionjavax.enterprise.deploy.spi.exceptionsErrors while generating a configuration bean
CreateExceptionjavax.ejb

The CreateException exception must be included in the throws clauses of all create(...) methods define in an enterprise Bean's remote interface.

DConfigBeanVersionUnsupportedExceptionjavax.enterprise.deploy.spi.exceptionsErrors when a j2ee version is not supported
DDBeanCreateExceptionjavax.enterprise.deploy.model.exceptionsErrors while generating a DDBean
DeleteExceptionjavax.xml.registryNo description provided.
DeploymentManagerCreationExceptionjavax.enterprise.deploy.spi.exceptionsErrors while generating a Deployment manager
DuplicateKeyExceptionjavax.ejbThe DuplicateKeyException exception is thrown if an entity EJB object cannot be created because an object with the same key already exists.
EISSystemExceptionjavax.resource.spiA EISSystemException is used to indicate EIS specific error conditios.
EJBExceptionjavax.ejbThe EJBException exception is thrown by an enterprise Bean instance to its container to report that the invoked business method or callback method could not be completed because of an unexpected error (e.g.
FinderExceptionjavax.ejb

The FinderException exception must be included in the throws clause of every findMETHOD(...) method of an entity Bean's home interface.

FindExceptionjavax.xml.registryNo description provided.
HeuristicCommitExceptionjavax.transactionThis exception is meant to be thrown by the rollback operation on a resource to report that a heuristic decision was made and that all relevant updates have been committed.
HeuristicMixedExceptionjavax.transactionThis exception is thrown to report that a heuristic decision was made and that some some parts of the transaction have been committed while other parts have been rolled back.
HeuristicRollbackExceptionjavax.transactionThis exception is thrown by the commit operation to report that a heuristic decision was made and that all relevant updates have been rolled back.
IllegalStateExceptionjavax.jms

This exception is thrown when a method is invoked at an illegal or inappropriate time or if the provider is not in an appropriate state for the requested operation.

IllegalStateExceptionjavax.resource.spiA IllegalStateException is thrown when a method has been invoked on an object which is in the wrong state to execute the method.
InvalidClientIDExceptionjavax.jms

This exception must be thrown when a client attempts to set a connection's client ID to a value that is rejected by a provider.

InvalidDestinationExceptionjavax.jms

This exception must be thrown when a destination either is not understood by a provider or is no longer valid.

InvalidModuleExceptionjavax.enterprise.deploy.spi.exceptionsErrors when a module is not valid
InvalidPropertyExceptionjavax.resource.spiRepresents invalid configuration properties
InvalidRequestExceptionjavax.xml.registryNo description provided.
InvalidSelectorExceptionjavax.jms

This exception must be thrown when a JMS client attempts to give a provider a message selector with invalid syntax.

InvalidTransactionExceptionjavax.transactionThis exception indicates an invalid transaction.
JAXBExceptionjavax.xml.bindThis is the root exception class for all JAXB exceptions.
JAXRExceptionjavax.xml.registryNo description provided.
JAXRPCExceptionjavax.xml.rpcNo description provided.
JMSExceptionjavax.jms

This is the root class of all JMS API exceptions.

JMSSecurityExceptionjavax.jms

This exception must be thrown when a provider rejects a user name/password submitted by a client.

LocalTransactionExceptionjavax.resource.spiA LocalTransactionException represents various error conditions related to local transaction management.
MarshalExceptionjavax.xml.bindThis exception indicates that an error has occurred while performing a marshal operation that the provider is unable to recover from.
MessageEOFExceptionjavax.jms

This exception must be thrown when an unexpected end of stream has been reached when a StreamMessage or BytesMessage is being read.

MessageFormatExceptionjavax.jms

This exception must be thrown when a JMS client attempts to use a data type not supported by a message or attempts to read data in a message as the wrong type.

MessageNotReadableExceptionjavax.jms

This exception must be thrown when a JMS client attempts to read a write-only message.

MessageNotWriteableExceptionjavax.jms

This exception must be thrown when a JMS client attempts to write to a read-only message.

NoSuchEntityExceptionjavax.ejb

The NoSuchEntityException exception is thrown by an Entity Bean instance to its container to report that the invoked business method or callback method could not be completed because of the underlying entity was removed from the database.

NoSuchObjectLocalExceptionjavax.ejbA NoSuchObjectLocalException is thrown if an attempt is made to invoke a method on an object that no longer exists.
NotSupportedExceptionjavax.transactionThe NotSupportedException exception indicates that an operation is not supported.
NotSupportedExceptionjavax.resourceA NotSupportedException is thrown to indicate that the callee (resource adapter or application server for system contracts) cannot execute an operation because the operation is not a supported feature.
ObjectNotFoundExceptionjavax.ejb

The ObjectNotFoundException exception is thrown by a finder method to indicate that the specified EJB object does not exist.

OperationUnsupportedExceptionjavax.enterprise.deploy.spi.exceptionsErrors when a method is not supported
PolicyContextExceptionjavax.security.jaccThis checked exception is thrown by the policy context and configuration classes.
PropertyExceptionjavax.xml.bindThis exception indicates that an error was encountered while getting or setting a property.
RegistryExceptionjavax.xml.registryNo description provided.
RemoveExceptionjavax.ejbThe RemoveException exception is thrown at an attempt to remove an EJB object when the enterprise Bean or the container does not allow the EJB object to be removed.
ResourceAdapterInternalExceptionjavax.resource.spiA ResourceAdapterInternalException indicates any system level error conditions related to a resource adapter.
ResourceAllocationExceptionjavax.jms

This exception is thrown when a provider is unable to allocate the resources required by a method.

ResourceAllocationExceptionjavax.resource.spiA ResourceAllocationException can be thrown to indicate a failure to allocate system resources such as threads or physical connections.
ResourceExceptionjavax.resourceThis is the root exception for the exception hierarchy defined for the connector architecture.
ResourceWarningjavax.resource.cciResourceWarning provides information on warnings generated by the underlying resource.
RollbackExceptionjavax.transactionThe RollbackException exception indicates that either the transaction has been rolled back or an operation cannot complete because the transaction is marked for rollback only.
SaveExceptionjavax.xml.registryNo description provided.
SecurityExceptionjavax.resource.spiA SecurityException indicates error conditions related to the security contract between an application server and a resource adapter.
ServiceExceptionjavax.xml.rpcNo description provided.
SharingViolationExceptionjavax.resource.spiThrown when a shared connection is used in an unshareable manner.
SOAPExceptionjavax.xml.soapNo description provided.
SOAPFaultExceptionjavax.xml.rpc.soapThe SOAPFaultException exception represents a SOAP fault.
SystemExceptionjavax.transactionThis exception is thrown to indicate that the transaction manager has encountered an unexpected error condition that prevents future transaction services from proceeding.
TargetExceptionjavax.enterprise.deploy.spi.exceptionsErrors in targets
TransactionInProgressExceptionjavax.jms

This exception is thrown when an operation is invalid because a transaction is in progress.

TransactionRequiredExceptionjavax.transactionThis exception indicates that a remote invocation request carried a null transaction context, but that an active transaction context was needed.
TransactionRequiredLocalExceptionjavax.ejbThis exception indicates that a request carried a null transaction context, but the target object requires an activate transaction.
TransactionRolledBackExceptionjavax.jms

This exception must be thrown when a call to Session.commit results in a rollback of the current transaction.

TransactionRolledbackExceptionjavax.transactionThis exception indicates that the transaction context carried in the remote invocation has been rolled back, or was marked for roll back only.
TransactionRolledbackLocalExceptionjavax.ejbThis exception indicates that the transaction associated with processing of the request has been rolled back, or marked to roll back.
UnavailableExceptionjavax.resource.spiThrown when a service is unavailable
UnexpectedObjectExceptionjavax.xml.registryNo description provided.
UnmarshalExceptionjavax.xml.bindThis exception indicates that an error has occurred while performing an unmarshal operation that prevents the JAXB Provider from completing the operation.
UnsupportedCapabilityExceptionjavax.xml.registryNo description provided.
WorkCompletedExceptionjavax.resource.spi.workAn error thrown when work is completed.
WorkExceptionjavax.resource.spi.workThrown when there is an error handling work.
WorkRejectedExceptionjavax.resource.spi.workThrown when a work is rejected.
XAExceptionjavax.transaction.xaThe XAException is thrown by resource managers in case of problems.
Search