Package | Description |
---|---|
org.springframework.aop |
Core Spring AOP interfaces, built on AOP Alliance AOP interoperability interfaces.
|
org.springframework.aop.aspectj.annotation |
Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.
|
org.springframework.aop.framework |
Package containing Spring's basic AOP infrastructure, compliant with the
AOP Alliance interfaces.
|
org.springframework.beans |
This package contains interfaces and classes for manipulating Java beans.
|
org.springframework.beans.factory |
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
|
org.springframework.beans.factory.parsing |
Support infrastructure for bean definition parsing.
|
org.springframework.beans.factory.support |
Classes supporting the
org.springframework.beans.factory package. |
org.springframework.beans.factory.xml |
Contains an abstract XML-based
BeanFactory implementation,
including a standard "spring-beans" XSD. |
org.springframework.context |
This package builds on the beans package to add support for
message sources and for the Observer design pattern, and the
ability for application objects to obtain resources using a
consistent API.
|
org.springframework.core.annotation |
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
|
org.springframework.core.codec | |
org.springframework.core.convert |
Type conversion system API.
|
org.springframework.core.serializer.support |
Support classes for Spring's serializer abstraction.
|
org.springframework.dao |
Exception hierarchy enabling sophisticated error handling independent
of the data access approach in use.
|
org.springframework.ejb.access |
This package contains classes that allow easy access to EJBs.
|
org.springframework.http.converter |
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
|
org.springframework.jca.cci |
This package contains Spring's support for the Common Client Interface (CCI),
as defined by the J2EE Connector Architecture.
|
org.springframework.jdbc |
The classes in this package make JDBC easier to use and
reduce the likelihood of common errors.
|
org.springframework.jdbc.datasource.init |
Provides extensible support for initializing databases through scripts.
|
org.springframework.jdbc.datasource.lookup |
Provides a strategy for looking up JDBC DataSources by name.
|
org.springframework.jdbc.support.xml |
Abstraction for handling fields of SQLXML data type.
|
org.springframework.jms |
This package contains integration classes for JMS,
allowing for Spring-style JMS access.
|
org.springframework.jms.connection |
Provides a PlatformTransactionManager implementation for a single
JMS ConnectionFactory, and a SingleConnectionFactory adapter.
|
org.springframework.jms.listener.adapter |
Message listener adapter mechanism that delegates to target listener
methods, converting messages to appropriate message content types
(such as String or byte array) that get passed into listener methods.
|
org.springframework.jms.support.converter |
Provides a MessageConverter abstraction to convert
between Java objects and JMS messages.
|
org.springframework.jms.support.destination |
Support classes for Spring's JMS framework.
|
org.springframework.jmx |
This package contains Spring's JMX support, which includes registration of
Spring-managed beans as JMX MBeans as well as access to remote JMX MBeans.
|
org.springframework.jmx.access |
Provides support for accessing remote MBean resources.
|
org.springframework.jmx.export |
This package provides declarative creation and registration of
Spring-managed beans as JMX MBeans.
|
org.springframework.jmx.export.metadata |
Provides generic JMX metadata classes and basic support for reading
JMX metadata in a provider-agnostic manner.
|
org.springframework.jmx.export.notification |
Provides supporting infrastructure to allow Spring-created MBeans
to send JMX notifications.
|
org.springframework.jndi |
The classes in this package make JNDI easier to use,
facilitating the accessing of configuration stored in JNDI,
and provide useful superclasses for JNDI access classes.
|
org.springframework.mail |
Spring's generic mail infrastructure.
|
org.springframework.messaging |
Support for working with messaging APIs and protocols.
|
org.springframework.messaging.handler.annotation.support |
Support classes for working with annotated message-handling methods.
|
org.springframework.messaging.handler.invocation |
Common infrastructure for invoking message handler methods.
|
org.springframework.messaging.simp.annotation.support |
Support classes for handling messages from simple messaging protocols
(like STOMP).
|
org.springframework.messaging.simp.stomp |
Generic support for simple messaging protocols (like STOMP).
|
org.springframework.orm |
Root package for Spring's O/R Mapping integration classes.
|
org.springframework.orm.hibernate5 |
Package providing integration of
Hibernate 5.x
with Spring concepts.
|
org.springframework.orm.jpa |
Package providing integration of JPA (Java Persistence API) with Spring concepts.
|
org.springframework.oxm |
Root package for Spring's O/X Mapping integration classes.
|
org.springframework.r2dbc |
The classes in this package make R2DBC easier to use and
reduce the likelihood of common errors.
|
org.springframework.r2dbc.connection.lookup |
Provides a strategy for looking up R2DBC ConnectionFactories by name.
|
org.springframework.r2dbc.core.binding |
Classes providing an abstraction over SQL bind markers.
|
org.springframework.remoting |
Exception hierarchy for Spring's remoting infrastructure,
independent of any specific remote method invocation system.
|
org.springframework.remoting.jaxws |
Remoting classes for Web Services via JAX-WS (the successor of JAX-RPC),
as included in Java 6 and Java EE 5.
|
org.springframework.remoting.soap |
SOAP-specific exceptions and support classes for Spring's remoting subsystem.
|
org.springframework.scheduling |
General exceptions for Spring's scheduling support,
independent of any specific scheduling system.
|
org.springframework.scheduling.quartz |
Support classes for the open source scheduler
Quartz,
allowing to set up Quartz Schedulers, JobDetails and
Triggers as beans in a Spring context.
|
org.springframework.scripting |
Core interfaces for Spring's scripting support.
|
org.springframework.scripting.bsh |
Package providing integration of
BeanShell
(and BeanShell2)
into Spring's scripting infrastructure.
|
org.springframework.transaction |
Spring's core transaction management APIs (independent of any specific transaction
management system); an exception hierarchy for Spring's transaction infrastructure;
and transaction manager, definition, and status interfaces.
|
org.springframework.web.bind.support |
Support classes for web data binding.
|
org.springframework.web.client |
Core package of the client-side web support.
|
org.springframework.web.method.annotation |
Support classes for annotation-based handler method processing.
|
org.springframework.web.multipart |
Multipart resolution framework for handling file uploads.
|
org.springframework.web.reactive.function |
Provides a foundation for both the reactive client and server subpackages.
|
org.springframework.web.reactive.function.client |
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive reactive HTTP adapter layer. |
org.springframework.web.server |
Core interfaces and classes for Spring's generic, reactive web support.
|
org.springframework.web.socket.server |
Server-side abstractions for WebSocket interactions.
|
org.springframework.web.socket.sockjs |
Top-level SockJS types.
|
Modifier and Type | Class and Description |
---|---|
class |
AopInvocationException
Exception that gets thrown when an AOP invocation failed
because of misconfiguration or unexpected runtime issues.
|
Modifier and Type | Class and Description |
---|---|
class |
NotAnAtAspectException
Extension of AopConfigException thrown when trying to perform
an advisor generation operation on a class that is not an
AspectJ annotation-style aspect.
|
Modifier and Type | Class and Description |
---|---|
class |
AopConfigException
Exception that gets thrown on illegal AOP configuration arguments.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanInstantiationException
Exception thrown when instantiation of a bean failed.
|
class |
BeansException
Abstract superclass for all exceptions thrown in the beans package
and subpackages.
|
class |
ConversionNotSupportedException
Exception thrown when no suitable editor or converter can be found for a bean property.
|
class |
FatalBeanException
Thrown on an unrecoverable problem encountered in the
beans packages or sub-packages, e.g.
|
class |
InvalidPropertyException
Exception thrown when referring to an invalid bean property.
|
class |
MethodInvocationException
Thrown when a bean property getter or setter method throws an exception,
analogous to an InvocationTargetException.
|
class |
NotReadablePropertyException
Exception thrown on an attempt to get the value of a property
that isn't readable, because there's no getter method.
|
class |
NotWritablePropertyException
Exception thrown on an attempt to set the value of a property that
is not writable (typically because there is no setter method).
|
class |
NullValueInNestedPathException
Exception thrown when navigation of a valid nested property
path encounters a NullPointerException.
|
class |
PropertyAccessException
Superclass for exceptions related to a property access,
such as type mismatch or invocation target exception.
|
class |
PropertyBatchUpdateException
Combined exception, composed of individual PropertyAccessException instances.
|
class |
TypeMismatchException
Exception thrown on a type mismatch when trying to set a bean property.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanCreationException
Exception thrown when a BeanFactory encounters an error when
attempting to create a bean from a bean definition.
|
class |
BeanCreationNotAllowedException
Exception thrown in case of a bean being requested despite
bean creation currently not being allowed (for example, during
the shutdown phase of a bean factory).
|
class |
BeanCurrentlyInCreationException
Exception thrown in case of a reference to a bean that's currently in creation.
|
class |
BeanDefinitionStoreException
Exception thrown when a BeanFactory encounters an invalid bean definition:
e.g.
|
class |
BeanExpressionException
Exception that indicates an expression evaluation attempt having failed.
|
class |
BeanInitializationException
Exception that a bean implementation is suggested to throw if its own
factory-aware initialization code fails.
|
class |
BeanIsAbstractException
Exception thrown when a bean instance has been requested for
a bean definition which has been marked as abstract.
|
class |
BeanIsNotAFactoryException
Exception thrown when a bean is not a factory, but a user tries to get
at the factory for the given bean name.
|
class |
BeanNotOfRequiredTypeException
Thrown when a bean doesn't match the expected type.
|
class |
CannotLoadBeanClassException
Exception thrown when the BeanFactory cannot load the specified class
of a given bean.
|
class |
FactoryBeanNotInitializedException
Exception to be thrown from a FactoryBean's
getObject() method
if the bean is not fully initialized yet, for example because it is involved
in a circular reference. |
class |
NoSuchBeanDefinitionException
Exception thrown when a
BeanFactory is asked for a bean instance for which it
cannot find a definition. |
class |
NoUniqueBeanDefinitionException
Exception thrown when a
BeanFactory is asked for a bean instance for which
multiple matching candidates have been found when only one matching bean was expected. |
class |
UnsatisfiedDependencyException
Exception thrown when a bean depends on other beans or simple properties
that were not specified in the bean factory definition, although
dependency checking was enabled.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanDefinitionParsingException
Exception thrown when a bean definition reader encounters an error
during the parsing process.
|
Modifier and Type | Class and Description |
---|---|
class |
BeanDefinitionOverrideException
Subclass of
BeanDefinitionStoreException indicating an invalid override
attempt: typically registering a new definition for the same bean name while
DefaultListableBeanFactory.isAllowBeanDefinitionOverriding() is false . |
class |
BeanDefinitionValidationException
Exception thrown when the validation of a bean definition failed.
|
class |
ScopeNotActiveException
A subclass of
BeanCreationException which indicates that the target scope
is not active, e.g. |
Modifier and Type | Class and Description |
---|---|
class |
XmlBeanDefinitionStoreException
XML-specific BeanDefinitionStoreException subclass that wraps a
SAXException , typically a SAXParseException
which contains information about the error location. |
Modifier and Type | Class and Description |
---|---|
class |
ApplicationContextException
Exception thrown during application context initialization.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationConfigurationException
Thrown by
AnnotationUtils and synthesized annotations
if an annotation is improperly configured. |
Modifier and Type | Class and Description |
---|---|
class |
CodecException
General error that indicates a problem while encoding and decoding to and
from an Object stream.
|
class |
DecodingException
Indicates an issue with decoding the input stream with a focus on content
related issues such as a parse failure.
|
class |
EncodingException
Indicates an issue with encoding the input Object stream with a focus on
not being able to encode Objects.
|
Modifier and Type | Class and Description |
---|---|
class |
ConversionException
Base class for exceptions thrown by the conversion system.
|
class |
ConversionFailedException
Exception to be thrown when an actual type conversion attempt fails.
|
class |
ConverterNotFoundException
Exception to be thrown when a suitable converter could not be found
in a given conversion service.
|
Modifier and Type | Class and Description |
---|---|
class |
SerializationFailedException
Wrapper for the native IOException (or similar) when a
Serializer or
Deserializer failed. |
Modifier and Type | Class and Description |
---|---|
class |
CannotAcquireLockException
Exception thrown on failure to acquire a lock during an update,
for example during a "select for update" statement.
|
class |
CannotSerializeTransactionException
Exception thrown on failure to complete a transaction in serialized mode
due to update conflicts.
|
class |
CleanupFailureDataAccessException
Exception thrown when we couldn't cleanup after a data access operation,
but the actual operation went OK.
|
class |
ConcurrencyFailureException
Exception thrown on concurrency failure.
|
class |
DataAccessException
Root of the hierarchy of data access exceptions discussed in
Expert One-On-One J2EE Design and Development.
|
class |
DataAccessResourceFailureException
Data access exception thrown when a resource fails completely:
for example, if we can't connect to a database using JDBC.
|
class |
DataIntegrityViolationException
Exception thrown when an attempt to insert or update data
results in violation of an integrity constraint.
|
class |
DataRetrievalFailureException
Exception thrown if certain expected data could not be retrieved, e.g.
|
class |
DeadlockLoserDataAccessException
Generic exception thrown when the current process was
a deadlock loser, and its transaction rolled back.
|
class |
DuplicateKeyException
Exception thrown when an attempt to insert or update data
results in violation of an primary key or unique constraint.
|
class |
EmptyResultDataAccessException
Data access exception thrown when a result was expected to have at least
one row (or element) but zero rows (or elements) were actually returned.
|
class |
IncorrectResultSizeDataAccessException
Data access exception thrown when a result was not of the expected size,
for example when expecting a single row but getting 0 or more than 1 rows.
|
class |
IncorrectUpdateSemanticsDataAccessException
Data access exception thrown when something unintended appears to have
happened with an update, but the transaction hasn't already been rolled back.
|
class |
InvalidDataAccessApiUsageException
Exception thrown on incorrect usage of the API, such as failing to
"compile" a query object that needed compilation before execution.
|
class |
InvalidDataAccessResourceUsageException
Root for exceptions thrown when we use a data access resource incorrectly.
|
class |
NonTransientDataAccessException
Root of the hierarchy of data access exceptions that are considered non-transient -
where a retry of the same operation would fail unless the cause of the Exception
is corrected.
|
class |
NonTransientDataAccessResourceException
Data access exception thrown when a resource fails completely and the failure is permanent.
|
class |
OptimisticLockingFailureException
Exception thrown on an optimistic locking violation.
|
class |
PermissionDeniedDataAccessException
Exception thrown when the underlying resource denied a permission
to access a specific element, such as a specific database table.
|
class |
PessimisticLockingFailureException
Exception thrown on a pessimistic locking violation.
|
class |
QueryTimeoutException
Exception to be thrown on a query timeout.
|
class |
RecoverableDataAccessException
Data access exception thrown when a previously failed operation might be able
to succeed if the application performs some recovery steps and retries the entire
transaction or in the case of a distributed transaction, the transaction branch.
|
class |
TransientDataAccessException
Root of the hierarchy of data access exceptions that are considered transient -
where a previously failed operation might be able to succeed when the operation
is retried without any intervention by application-level functionality.
|
class |
TransientDataAccessResourceException
Data access exception thrown when a resource fails temporarily
and the operation can be retried.
|
class |
TypeMismatchDataAccessException
Exception thrown on mismatch between Java type and database type:
for example on an attempt to set an object of the wrong type
in an RDBMS column.
|
class |
UncategorizedDataAccessException
Normal superclass when we can't distinguish anything more specific
than "something went wrong with the underlying resource": for example,
an SQLException from JDBC we can't pinpoint more precisely.
|
Modifier and Type | Class and Description |
---|---|
class |
EjbAccessException
Exception that gets thrown when an EJB stub cannot be accessed properly.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpMessageConversionException
Thrown by
HttpMessageConverter implementations when a conversion attempt fails. |
class |
HttpMessageNotReadableException
Thrown by
HttpMessageConverter implementations when the
HttpMessageConverter.read(java.lang.Class<? extends T>, org.springframework.http.HttpInputMessage) method fails. |
class |
HttpMessageNotWritableException
Thrown by
HttpMessageConverter implementations when the
HttpMessageConverter.write(T, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage) method fails. |
Modifier and Type | Class and Description |
---|---|
class |
CannotCreateRecordException
Deprecated.
as of 5.3, in favor of specific data access APIs
(or native CCI usage if there is no alternative)
|
class |
CannotGetCciConnectionException
Deprecated.
as of 5.3, in favor of specific data access APIs
(or native CCI usage if there is no alternative)
|
class |
CciOperationNotSupportedException
Deprecated.
as of 5.3, in favor of specific data access APIs
(or native CCI usage if there is no alternative)
|
class |
RecordTypeNotSupportedException
Deprecated.
as of 5.3, in favor of specific data access APIs
(or native CCI usage if there is no alternative)
|
Modifier and Type | Class and Description |
---|---|
class |
BadSqlGrammarException
Exception thrown when SQL specified is invalid.
|
class |
CannotGetJdbcConnectionException
Fatal exception thrown when we can't connect to an RDBMS using JDBC.
|
class |
IncorrectResultSetColumnCountException
Data access exception thrown when a result set did not have the correct column count,
for example when expecting a single column but getting 0 or more than 1 columns.
|
class |
InvalidResultSetAccessException
Exception thrown when a ResultSet has been accessed in an invalid fashion.
|
class |
JdbcUpdateAffectedIncorrectNumberOfRowsException
Exception thrown when a JDBC update affects an unexpected number of rows.
|
class |
LobRetrievalFailureException
Exception to be thrown when a LOB could not be retrieved.
|
class |
SQLWarningException
Exception thrown when we're not ignoring
SQLWarnings . |
class |
UncategorizedSQLException
Exception thrown when we can't classify an SQLException into
one of our generic data access exceptions.
|
Modifier and Type | Class and Description |
---|---|
class |
CannotReadScriptException
Thrown by
ScriptUtils if an SQL script cannot be read. |
class |
ScriptException
Root of the hierarchy of data access exceptions that are related to processing
of SQL scripts.
|
class |
ScriptParseException
Thrown by
ScriptUtils if an SQL script cannot be properly parsed. |
class |
ScriptStatementFailedException
Thrown by
ScriptUtils if a statement in an SQL script failed when
executing it against the target database. |
class |
UncategorizedScriptException
Thrown when we cannot determine anything more specific than "something went
wrong while processing an SQL script": for example, a
SQLException
from JDBC that we cannot pinpoint more precisely. |
Modifier and Type | Class and Description |
---|---|
class |
DataSourceLookupFailureException
Exception to be thrown by a DataSourceLookup implementation,
indicating that the specified DataSource could not be obtained.
|
Modifier and Type | Class and Description |
---|---|
class |
SqlXmlFeatureNotImplementedException
Exception thrown when the underlying implementation does not support the
requested feature of the API.
|
Modifier and Type | Class and Description |
---|---|
class |
IllegalStateException
Runtime exception mirroring the JMS IllegalStateException.
|
class |
InvalidClientIDException
Runtime exception mirroring the JMS InvalidClientIDException.
|
class |
InvalidDestinationException
Runtime exception mirroring the JMS InvalidDestinationException.
|
class |
InvalidSelectorException
Runtime exception mirroring the JMS InvalidSelectorException.
|
class |
JmsException
Base class for exception thrown by the framework whenever it
encounters a problem related to JMS.
|
class |
JmsSecurityException
Runtime exception mirroring the JMS JMSSecurityException.
|
class |
MessageEOFException
Runtime exception mirroring the JMS MessageEOFException.
|
class |
MessageFormatException
Runtime exception mirroring the JMS MessageFormatException.
|
class |
MessageNotReadableException
Runtime exception mirroring the JMS MessageNotReadableException.
|
class |
MessageNotWriteableException
Runtime exception mirroring the JMS MessageNotWriteableException.
|
class |
ResourceAllocationException
Runtime exception mirroring the JMS ResourceAllocationException.
|
class |
TransactionInProgressException
Runtime exception mirroring the JMS TransactionInProgressException.
|
class |
TransactionRolledBackException
Runtime exception mirroring the JMS TransactionRolledBackException.
|
class |
UncategorizedJmsException
JmsException to be thrown when no other matching subclass found.
|
Modifier and Type | Class and Description |
---|---|
class |
SynchedLocalTransactionFailedException
Exception thrown when a synchronized local transaction failed to complete
(after the main transaction has already completed).
|
Modifier and Type | Class and Description |
---|---|
class |
ListenerExecutionFailedException
Exception to be thrown when the execution of a listener method failed.
|
class |
ReplyFailureException
Exception to be thrown when the reply of a message failed to be sent.
|
Modifier and Type | Class and Description |
---|---|
class |
MessageConversionException
Thrown by
MessageConverter implementations when the conversion
of an object to/from a Message fails. |
Modifier and Type | Class and Description |
---|---|
class |
DestinationResolutionException
Thrown by a DestinationResolver when it cannot resolve a destination name.
|
Modifier and Type | Class and Description |
---|---|
class |
JmxException
General base exception to be thrown on JMX errors.
|
class |
MBeanServerNotFoundException
Exception thrown when we cannot locate an instance of an
MBeanServer ,
or when more than one instance is found. |
Modifier and Type | Class and Description |
---|---|
class |
InvocationFailureException
Thrown when an invocation on an MBean resource failed with an exception (either
a reflection exception or an exception thrown by the target method itself).
|
class |
MBeanConnectFailureException
Thrown when an invocation failed because of an I/O problem on the
MBeanServerConnection.
|
class |
MBeanInfoRetrievalException
Thrown if an exception is encountered when trying to retrieve
MBean metadata.
|
Modifier and Type | Class and Description |
---|---|
class |
MBeanExportException
Exception thrown in case of failure when exporting an MBean.
|
class |
UnableToRegisterMBeanException
Exception thrown when we are unable to register an MBean,
for example because of a naming conflict.
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidMetadataException
Thrown by the
JmxAttributeSource when it encounters
incorrect metadata on a managed resource or one of its methods. |
Modifier and Type | Class and Description |
---|---|
class |
UnableToSendNotificationException
Thrown when a JMX
Notification is unable to be sent. |
Modifier and Type | Class and Description |
---|---|
class |
JndiLookupFailureException
RuntimeException to be thrown in case of JNDI lookup failures,
in particular from code that does not declare JNDI's checked
NamingException : for example, from Spring's
JndiObjectTargetSource . |
Modifier and Type | Class and Description |
---|---|
class |
MailAuthenticationException
Exception thrown on failed authentication.
|
class |
MailException
Base class for all mail exceptions.
|
class |
MailParseException
Exception thrown if illegal message properties are encountered.
|
class |
MailPreparationException
Exception to be thrown by user code if a mail cannot be prepared properly,
for example when a FreeMarker template cannot be rendered for the mail text.
|
class |
MailSendException
Exception thrown when a mail sending error is encountered.
|
Modifier and Type | Class and Description |
---|---|
class |
MessageDeliveryException
Exception that indicates an error occurred during message delivery.
|
class |
MessageHandlingException
Exception that indicates an error occurred during message handling.
|
class |
MessagingException
The base exception for any failures related to messaging.
|
Modifier and Type | Class and Description |
---|---|
class |
MethodArgumentNotValidException
Exception to be thrown when a method argument fails validation perhaps as a
result of
@Valid style validation, or perhaps because it is required. |
Modifier and Type | Class and Description |
---|---|
class |
MethodArgumentResolutionException
Common exception resulting from the invocation of
HandlerMethodArgumentResolver . |
Modifier and Type | Class and Description |
---|---|
class |
MissingSessionUserException
MessagingException thrown when a session is missing. |
Modifier and Type | Class and Description |
---|---|
class |
StompConversionException
Raised after a failure to encode or decode a STOMP message.
|
Modifier and Type | Class and Description |
---|---|
class |
ObjectOptimisticLockingFailureException
Exception thrown on an optimistic locking violation for a mapped object.
|
class |
ObjectRetrievalFailureException
Exception thrown if a mapped object could not be retrieved via its identifier.
|
Modifier and Type | Class and Description |
---|---|
class |
HibernateJdbcException
Hibernate-specific subclass of UncategorizedDataAccessException,
for JDBC exceptions that Hibernate wrapped.
|
class |
HibernateObjectRetrievalFailureException
Hibernate-specific subclass of ObjectRetrievalFailureException.
|
class |
HibernateOptimisticLockingFailureException
Hibernate-specific subclass of ObjectOptimisticLockingFailureException.
|
class |
HibernateQueryException
Hibernate-specific subclass of InvalidDataAccessResourceUsageException,
thrown on invalid HQL query syntax.
|
class |
HibernateSystemException
Hibernate-specific subclass of UncategorizedDataAccessException,
for Hibernate system errors that do not match any concrete
org.springframework.dao exceptions. |
Modifier and Type | Class and Description |
---|---|
class |
JpaObjectRetrievalFailureException
JPA-specific subclass of ObjectRetrievalFailureException.
|
class |
JpaOptimisticLockingFailureException
JPA-specific subclass of ObjectOptimisticLockingFailureException.
|
class |
JpaSystemException
JPA-specific subclass of UncategorizedDataAccessException,
for JPA system errors that do not match any concrete
org.springframework.dao exceptions. |
Modifier and Type | Class and Description |
---|---|
class |
MarshallingException
Base class for exception thrown when a marshalling or unmarshalling error occurs.
|
class |
MarshallingFailureException
Exception thrown on marshalling failure.
|
class |
UncategorizedMappingException
Exception that indicates that the cause cannot be distinguished further.
|
class |
UnmarshallingFailureException
Exception thrown on unmarshalling failure.
|
class |
ValidationFailureException
Exception thrown on marshalling validation failure.
|
class |
XmlMappingException
Root of the hierarchy of Object XML Mapping exceptions.
|
Modifier and Type | Class and Description |
---|---|
class |
UncategorizedR2dbcException
Exception thrown when we can't classify a
R2dbcException into
one of our generic data access exceptions. |
Modifier and Type | Class and Description |
---|---|
class |
ConnectionFactoryLookupFailureException
Exception to be thrown by a
ConnectionFactoryLookup implementation,
indicating that the specified ConnectionFactory could
not be obtained. |
Modifier and Type | Class and Description |
---|---|
static class |
BindMarkersFactoryResolver.NoBindMarkersFactoryException
Exception thrown when
BindMarkersFactoryResolver cannot resolve a
BindMarkersFactory . |
Modifier and Type | Class and Description |
---|---|
class |
RemoteAccessException
Generic remote access exception.
|
class |
RemoteConnectFailureException
RemoteAccessException subclass to be thrown when no connection
could be established with a remote service.
|
class |
RemoteInvocationFailureException
RemoteAccessException subclass to be thrown when the execution
of the target method failed on the server side, for example
when a method was not found on the target object.
|
class |
RemoteLookupFailureException
RemoteAccessException subclass to be thrown in case of a lookup failure,
typically if the lookup happens on demand for each method invocation.
|
class |
RemoteProxyFailureException
RemoteAccessException subclass to be thrown in case of a failure
within the client-side proxy for a remote service, for example
when a method was not found on the underlying RMI stub.
|
class |
RemoteTimeoutException
RemoteAccessException subclass to be thrown when the execution
of the target method did not complete before a configurable
timeout, for example when a reply message was not received.
|
Modifier and Type | Class and Description |
---|---|
class |
JaxWsSoapFaultException
Spring SoapFaultException adapter for the JAX-WS
SOAPFaultException class. |
Modifier and Type | Class and Description |
---|---|
class |
SoapFaultException
RemoteInvocationFailureException subclass that provides the details
of a SOAP fault.
|
Modifier and Type | Class and Description |
---|---|
class |
SchedulingException
General exception to be thrown on scheduling failures,
such as the scheduler already having shut down.
|
Modifier and Type | Class and Description |
---|---|
class |
JobMethodInvocationFailedException
Unchecked exception that wraps an exception thrown from a target method.
|
Modifier and Type | Class and Description |
---|---|
class |
ScriptCompilationException
Exception to be thrown on script compilation failure.
|
Modifier and Type | Class and Description |
---|---|
static class |
BshScriptUtils.BshExecutionException
Exception to be thrown on script execution failure.
|
Modifier and Type | Class and Description |
---|---|
class |
CannotCreateTransactionException
Exception thrown when a transaction can't be created using an
underlying transaction API such as JTA.
|
class |
HeuristicCompletionException
Exception that represents a transaction failure caused by a heuristic
decision on the side of the transaction coordinator.
|
class |
IllegalTransactionStateException
Exception thrown when the existence or non-existence of a transaction
amounts to an illegal state according to the transaction propagation
behavior that applies.
|
class |
InvalidIsolationLevelException
Exception that gets thrown when an invalid isolation level is specified,
i.e.
|
class |
InvalidTimeoutException
Exception that gets thrown when an invalid timeout is specified,
that is, the specified timeout valid is out of range or the
transaction manager implementation doesn't support timeouts.
|
class |
NestedTransactionNotSupportedException
Exception thrown when attempting to work with a nested transaction
but nested transactions are not supported by the underlying backend.
|
class |
NoTransactionException
Exception thrown when an operation is attempted that
relies on an existing transaction (such as setting
rollback status) and there is no existing transaction.
|
class |
TransactionException
Superclass for all transaction exceptions.
|
class |
TransactionSuspensionNotSupportedException
Exception thrown when attempting to suspend an existing transaction
but transaction suspension is not supported by the underlying backend.
|
class |
TransactionSystemException
Exception thrown when a general transaction system error is encountered,
like on commit or rollback.
|
class |
TransactionTimedOutException
Exception to be thrown when a transaction has timed out.
|
class |
TransactionUsageException
Superclass for exceptions caused by inappropriate usage of
a Spring transaction API.
|
class |
UnexpectedRollbackException
Thrown when an attempt to commit a transaction resulted
in an unexpected rollback.
|
Modifier and Type | Class and Description |
---|---|
class |
WebExchangeBindException
A specialization of
ServerWebInputException thrown when after data
binding and validation failure. |
Modifier and Type | Class and Description |
---|---|
class |
HttpClientErrorException
Exception thrown when an HTTP 4xx is received.
|
static class |
HttpClientErrorException.BadRequest
HttpClientErrorException for status HTTP 400 Bad Request. |
static class |
HttpClientErrorException.Conflict
HttpClientErrorException for status HTTP 409 Conflict. |
static class |
HttpClientErrorException.Forbidden
HttpClientErrorException for status HTTP 403 Forbidden. |
static class |
HttpClientErrorException.Gone
HttpClientErrorException for status HTTP 410 Gone. |
static class |
HttpClientErrorException.MethodNotAllowed
HttpClientErrorException for status HTTP 405 Method Not Allowed. |
static class |
HttpClientErrorException.NotAcceptable
HttpClientErrorException for status HTTP 406 Not Acceptable. |
static class |
HttpClientErrorException.NotFound
HttpClientErrorException for status HTTP 404 Not Found. |
static class |
HttpClientErrorException.TooManyRequests
HttpClientErrorException for status HTTP 429 Too Many Requests. |
static class |
HttpClientErrorException.Unauthorized
HttpClientErrorException for status HTTP 401 Unauthorized. |
static class |
HttpClientErrorException.UnprocessableEntity
HttpClientErrorException for status HTTP 422 Unprocessable Entity. |
static class |
HttpClientErrorException.UnsupportedMediaType
HttpClientErrorException for status HTTP 415 Unsupported Media Type. |
class |
HttpServerErrorException
Exception thrown when an HTTP 5xx is received.
|
static class |
HttpServerErrorException.BadGateway
HttpServerErrorException for status HTTP HTTP 502 Bad Gateway. |
static class |
HttpServerErrorException.GatewayTimeout
HttpServerErrorException for status HTTP 504 Gateway Timeout. |
static class |
HttpServerErrorException.InternalServerError
HttpServerErrorException for status HTTP 500 Internal Server Error. |
static class |
HttpServerErrorException.NotImplemented
HttpServerErrorException for status HTTP 501 Not Implemented. |
static class |
HttpServerErrorException.ServiceUnavailable
HttpServerErrorException for status HTTP 503 Service Unavailable. |
class |
HttpStatusCodeException
Abstract base class for exceptions based on an
HttpStatus . |
class |
ResourceAccessException
Exception thrown when an I/O error occurs.
|
class |
RestClientException
Base class for exceptions thrown by
RestTemplate in case a request
fails because of a server error response, as determined via
ResponseErrorHandler.hasError(ClientHttpResponse) , failure to decode
the response, or a low level I/O error. |
class |
RestClientResponseException
Common base class for exceptions that contain actual HTTP response data.
|
class |
UnknownContentTypeException
Raised when no suitable
HttpMessageConverter could be
found to extract the response. |
class |
UnknownHttpStatusCodeException
Exception thrown when an unknown (or custom) HTTP status code is received.
|
Modifier and Type | Class and Description |
---|---|
class |
MethodArgumentConversionNotSupportedException
A ConversionNotSupportedException raised while resolving a method argument.
|
class |
MethodArgumentTypeMismatchException
A TypeMismatchException raised while resolving a controller method argument.
|
Modifier and Type | Class and Description |
---|---|
class |
MaxUploadSizeExceededException
MultipartException subclass thrown when an upload exceeds the
maximum upload size allowed.
|
class |
MultipartException
Exception thrown when multipart resolution fails.
|
Modifier and Type | Class and Description |
---|---|
class |
UnsupportedMediaTypeException
Exception thrown to indicate that a
Content-Type is not supported. |
Modifier and Type | Class and Description |
---|---|
class |
MediaTypeNotSupportedStatusException
Deprecated.
in favor of
UnsupportedMediaTypeStatusException ,
with this class never thrown by Spring code and to be removed in 5.3 |
class |
MethodNotAllowedException
Exception for errors that fit response status 405 (method not allowed).
|
class |
NotAcceptableStatusException
Exception for errors that fit response status 406 (not acceptable).
|
class |
ResponseStatusException
Base class for exceptions associated with specific HTTP response status codes.
|
class |
ServerErrorException
Exception for an
HttpStatus.INTERNAL_SERVER_ERROR that exposes extra
information about a controller method that failed, or a controller method
argument that could not be resolved. |
class |
ServerWebInputException
Exception for errors that fit response status 400 (bad request) for use in
Spring Web applications.
|
class |
UnsupportedMediaTypeStatusException
Exception for errors that fit response status 415 (unsupported media type).
|
Modifier and Type | Class and Description |
---|---|
class |
HandshakeFailureException
Thrown when handshake processing failed to complete due to an internal, unrecoverable
error.
|
Modifier and Type | Class and Description |
---|---|
class |
SockJsException
Base class for exceptions raised while processing SockJS HTTP requests.
|
class |
SockJsMessageDeliveryException
An exception thrown when a message frame was successfully received over an HTTP POST
and parsed but one or more of the messages it contained could not be delivered to the
WebSocketHandler either because the handler failed or because the connection got
closed.
|
class |
SockJsTransportFailureException
Indicates a serious failure that occurred in the SockJS implementation as opposed to
in user code (e.g.
|