类的使用
org.springframework.core.NestedRuntimeException
使用NestedRuntimeException的程序包 程序包 说明 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 theorg.springframework.beans.factory
package.org.springframework.beans.factory.xml Contains an abstract XML-basedBeanFactory
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.converter Provides support for message conversion.org.springframework.messaging.core Defines interfaces and implementation classes for messaging templates.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.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 reactiveWebClient
that builds on top of theorg.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.org.springframework.aop中NestedRuntimeException的使用
org.springframework.aop中NestedRuntimeException的子类 修饰符和类型 类 说明 class
AopInvocationException
Exception that gets thrown when an AOP invocation failed because of misconfiguration or unexpected runtime issues.org.springframework.aop.aspectj.annotation中NestedRuntimeException的使用
org.springframework.aop.aspectj.annotation中NestedRuntimeException的子类 修饰符和类型 类 说明 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.org.springframework.aop.framework中NestedRuntimeException的使用
org.springframework.aop.framework中NestedRuntimeException的子类 修饰符和类型 类 说明 class
AopConfigException
Exception that gets thrown on illegal AOP configuration arguments.org.springframework.beans中NestedRuntimeException的使用
org.springframework.beans中NestedRuntimeException的子类 修饰符和类型 类 说明 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. bad class or field.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.org.springframework.beans.factory中NestedRuntimeException的使用
org.springframework.beans.factory中NestedRuntimeException的子类 修饰符和类型 类 说明 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. in case of incomplete or contradictory bean metadata.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'sgetObject()
method if the bean is not fully initialized yet, for example because it is involved in a circular reference.class
NoSuchBeanDefinitionException
Exception thrown when aBeanFactory
is asked for a bean instance for which it cannot find a definition.class
NoUniqueBeanDefinitionException
Exception thrown when aBeanFactory
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.org.springframework.beans.factory.parsing中NestedRuntimeException的使用
org.springframework.beans.factory.parsing中NestedRuntimeException的子类 修饰符和类型 类 说明 class
BeanDefinitionParsingException
Exception thrown when a bean definition reader encounters an error during the parsing process.org.springframework.beans.factory.support中NestedRuntimeException的使用
org.springframework.beans.factory.support中NestedRuntimeException的子类 修饰符和类型 类 说明 class
BeanDefinitionOverrideException
Subclass ofBeanDefinitionStoreException
indicating an invalid override attempt: typically registering a new definition for the same bean name whileDefaultListableBeanFactory.isAllowBeanDefinitionOverriding()
isfalse
.class
BeanDefinitionValidationException
Exception thrown when the validation of a bean definition failed.org.springframework.beans.factory.xml中NestedRuntimeException的使用
org.springframework.beans.factory.xml中NestedRuntimeException的子类 修饰符和类型 类 说明 class
XmlBeanDefinitionStoreException
XML-specific BeanDefinitionStoreException subclass that wraps aSAXException
, typically aSAXParseException
which contains information about the error location.org.springframework.context中NestedRuntimeException的使用
org.springframework.context中NestedRuntimeException的子类 修饰符和类型 类 说明 class
ApplicationContextException
Exception thrown during application context initialization.org.springframework.core.annotation中NestedRuntimeException的使用
org.springframework.core.annotation中NestedRuntimeException的子类 修饰符和类型 类 说明 class
AnnotationConfigurationException
Thrown byAnnotationUtils
and synthesized annotations if an annotation is improperly configured.org.springframework.core.codec中NestedRuntimeException的使用
org.springframework.core.codec中NestedRuntimeException的子类 修饰符和类型 类 说明 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.org.springframework.core.convert中NestedRuntimeException的使用
org.springframework.core.convert中NestedRuntimeException的子类 修饰符和类型 类 说明 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.org.springframework.core.serializer.support中NestedRuntimeException的使用
org.springframework.core.serializer.support中NestedRuntimeException的子类 修饰符和类型 类 说明 class
SerializationFailedException
Wrapper for the native IOException (or similar) when aSerializer
orDeserializer
failed.org.springframework.dao中NestedRuntimeException的使用
org.springframework.dao中NestedRuntimeException的子类 修饰符和类型 类 说明 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.org.springframework.ejb.access中NestedRuntimeException的使用
org.springframework.ejb.access中NestedRuntimeException的子类 修饰符和类型 类 说明 class
EjbAccessException
Exception that gets thrown when an EJB stub cannot be accessed properly.org.springframework.http.converter中NestedRuntimeException的使用
org.springframework.http.converter中NestedRuntimeException的子类 修饰符和类型 类 说明 class
HttpMessageConversionException
Thrown byHttpMessageConverter
implementations when a conversion attempt fails.class
HttpMessageNotReadableException
Thrown byHttpMessageConverter
implementations when theHttpMessageConverter.read(java.lang.Class<? extends T>, org.springframework.http.HttpInputMessage)
method fails.class
HttpMessageNotWritableException
Thrown byHttpMessageConverter
implementations when theHttpMessageConverter.write(T, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage)
method fails.org.springframework.jca.cci中NestedRuntimeException的使用
org.springframework.jca.cci中NestedRuntimeException的子类 修饰符和类型 类 说明 class
CannotCreateRecordException
Exception thrown when the creating of a CCI Record failed for connector-internal reasons.class
CannotGetCciConnectionException
Fatal exception thrown when we can't connect to an EIS using CCI.class
CciOperationNotSupportedException
Exception thrown when the connector doesn't support a specific CCI operation.class
InvalidResultSetAccessException
Exception thrown when a ResultSet has been accessed in an invalid fashion.class
RecordTypeNotSupportedException
Exception thrown when the creating of a CCI Record failed because the connector doesn't support the desired CCI Record type.org.springframework.jdbc中NestedRuntimeException的使用
org.springframework.jdbc中NestedRuntimeException的子类 修饰符和类型 类 说明 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 ignoringSQLWarnings
.class
UncategorizedSQLException
Exception thrown when we can't classify an SQLException into one of our generic data access exceptions.org.springframework.jdbc.datasource.init中NestedRuntimeException的使用
org.springframework.jdbc.datasource.init中NestedRuntimeException的子类 修饰符和类型 类 说明 class
CannotReadScriptException
Thrown byScriptUtils
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 byScriptUtils
if an SQL script cannot be properly parsed.class
ScriptStatementFailedException
Thrown byScriptUtils
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, aSQLException
from JDBC that we cannot pinpoint more precisely.org.springframework.jdbc.datasource.lookup中NestedRuntimeException的使用
org.springframework.jdbc.datasource.lookup中NestedRuntimeException的子类 修饰符和类型 类 说明 class
DataSourceLookupFailureException
Exception to be thrown by a DataSourceLookup implementation, indicating that the specified DataSource could not be obtained.org.springframework.jdbc.support.xml中NestedRuntimeException的使用
org.springframework.jdbc.support.xml中NestedRuntimeException的子类 修饰符和类型 类 说明 class
SqlXmlFeatureNotImplementedException
Exception thrown when the underlying implementation does not support the requested feature of the API.org.springframework.jms中NestedRuntimeException的使用
org.springframework.jms中NestedRuntimeException的子类 修饰符和类型 类 说明 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.org.springframework.jms.connection中NestedRuntimeException的使用
org.springframework.jms.connection中NestedRuntimeException的子类 修饰符和类型 类 说明 class
SynchedLocalTransactionFailedException
Exception thrown when a synchronized local transaction failed to complete (after the main transaction has already completed).org.springframework.jms.listener.adapter中NestedRuntimeException的使用
org.springframework.jms.listener.adapter中NestedRuntimeException的子类 修饰符和类型 类 说明 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.org.springframework.jms.support.converter中NestedRuntimeException的使用
org.springframework.jms.support.converter中NestedRuntimeException的子类 修饰符和类型 类 说明 class
MessageConversionException
Thrown byMessageConverter
implementations when the conversion of an object to/from aMessage
fails.org.springframework.jms.support.destination中NestedRuntimeException的使用
org.springframework.jms.support.destination中NestedRuntimeException的子类 修饰符和类型 类 说明 class
DestinationResolutionException
Thrown by a DestinationResolver when it cannot resolve a destination name.org.springframework.jmx中NestedRuntimeException的使用
org.springframework.jmx中NestedRuntimeException的子类 修饰符和类型 类 说明 class
JmxException
General base exception to be thrown on JMX errors.class
MBeanServerNotFoundException
Exception thrown when we cannot locate an instance of anMBeanServer
, or when more than one instance is found.org.springframework.jmx.access中NestedRuntimeException的使用
org.springframework.jmx.access中NestedRuntimeException的子类 修饰符和类型 类 说明 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.org.springframework.jmx.export中NestedRuntimeException的使用
org.springframework.jmx.export中NestedRuntimeException的子类 修饰符和类型 类 说明 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.org.springframework.jmx.export.metadata中NestedRuntimeException的使用
org.springframework.jmx.export.metadata中NestedRuntimeException的子类 修饰符和类型 类 说明 class
InvalidMetadataException
Thrown by theJmxAttributeSource
when it encounters incorrect metadata on a managed resource or one of its methods.org.springframework.jmx.export.notification中NestedRuntimeException的使用
org.springframework.jmx.export.notification中NestedRuntimeException的子类 修饰符和类型 类 说明 class
UnableToSendNotificationException
Thrown when a JMXNotification
is unable to be sent.org.springframework.jndi中NestedRuntimeException的使用
org.springframework.jndi中NestedRuntimeException的子类 修饰符和类型 类 说明 class
JndiLookupFailureException
RuntimeException to be thrown in case of JNDI lookup failures, in particular from code that does not declare JNDI's checkedNamingException
: for example, from Spring'sJndiObjectTargetSource
.org.springframework.mail中NestedRuntimeException的使用
org.springframework.mail中NestedRuntimeException的子类 修饰符和类型 类 说明 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.org.springframework.messaging中NestedRuntimeException的使用
org.springframework.messaging中NestedRuntimeException的子类 修饰符和类型 类 说明 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.org.springframework.messaging.converter中NestedRuntimeException的使用
org.springframework.messaging.converter中NestedRuntimeException的子类 修饰符和类型 类 说明 class
MessageConversionException
An exception raised byMessageConverter
implementations.org.springframework.messaging.core中NestedRuntimeException的使用
org.springframework.messaging.core中NestedRuntimeException的子类 修饰符和类型 类 说明 class
DestinationResolutionException
Thrown by aDestinationResolver
when it cannot resolve a destination.org.springframework.messaging.handler.annotation.support中NestedRuntimeException的使用
org.springframework.messaging.handler.annotation.support中NestedRuntimeException的子类 修饰符和类型 类 说明 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.class
MethodArgumentTypeMismatchException
Exception that indicates that a method argument has not the expected type.org.springframework.messaging.handler.invocation中NestedRuntimeException的使用
org.springframework.messaging.handler.invocation中NestedRuntimeException的子类 修饰符和类型 类 说明 class
MethodArgumentResolutionException
Common exception resulting from the invocation ofHandlerMethodArgumentResolver
.org.springframework.messaging.simp.annotation.support中NestedRuntimeException的使用
org.springframework.messaging.simp.annotation.support中NestedRuntimeException的子类 修饰符和类型 类 说明 class
MissingSessionUserException
MessagingException
thrown when a session is missing.org.springframework.messaging.simp.stomp中NestedRuntimeException的使用
org.springframework.messaging.simp.stomp中NestedRuntimeException的子类 修饰符和类型 类 说明 class
StompConversionException
Raised after a failure to encode or decode a STOMP message.org.springframework.orm中NestedRuntimeException的使用
org.springframework.orm中NestedRuntimeException的子类 修饰符和类型 类 说明 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.org.springframework.orm.hibernate5中NestedRuntimeException的使用
org.springframework.orm.hibernate5中NestedRuntimeException的子类 修饰符和类型 类 说明 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 concreteorg.springframework.dao
exceptions.org.springframework.orm.jpa中NestedRuntimeException的使用
org.springframework.orm.jpa中NestedRuntimeException的子类 修饰符和类型 类 说明 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 concreteorg.springframework.dao
exceptions.org.springframework.oxm中NestedRuntimeException的使用
org.springframework.oxm中NestedRuntimeException的子类 修饰符和类型 类 说明 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.org.springframework.remoting中NestedRuntimeException的使用
org.springframework.remoting中NestedRuntimeException的子类 修饰符和类型 类 说明 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.org.springframework.remoting.jaxws中NestedRuntimeException的使用
org.springframework.remoting.jaxws中NestedRuntimeException的子类 修饰符和类型 类 说明 class
JaxWsSoapFaultException
Spring SoapFaultException adapter for the JAX-WSSOAPFaultException
class.org.springframework.remoting.soap中NestedRuntimeException的使用
org.springframework.remoting.soap中NestedRuntimeException的子类 修饰符和类型 类 说明 class
SoapFaultException
RemoteInvocationFailureException subclass that provides the details of a SOAP fault.org.springframework.scheduling中NestedRuntimeException的使用
org.springframework.scheduling中NestedRuntimeException的子类 修饰符和类型 类 说明 class
SchedulingException
General exception to be thrown on scheduling failures, such as the scheduler already having shut down.org.springframework.scheduling.quartz中NestedRuntimeException的使用
org.springframework.scheduling.quartz中NestedRuntimeException的子类 修饰符和类型 类 说明 class
JobMethodInvocationFailedException
Unchecked exception that wraps an exception thrown from a target method.org.springframework.scripting中NestedRuntimeException的使用
org.springframework.scripting中NestedRuntimeException的子类 修饰符和类型 类 说明 class
ScriptCompilationException
Exception to be thrown on script compilation failure.org.springframework.scripting.bsh中NestedRuntimeException的使用
org.springframework.scripting.bsh中NestedRuntimeException的子类 修饰符和类型 类 说明 static class
BshScriptUtils.BshExecutionException
Exception to be thrown on script execution failure.org.springframework.transaction中NestedRuntimeException的使用
org.springframework.transaction中NestedRuntimeException的子类 修饰符和类型 类 说明 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. an isolation level that the transaction manager implementation doesn't support.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.org.springframework.web.bind.support中NestedRuntimeException的使用
org.springframework.web.bind.support中NestedRuntimeException的子类 修饰符和类型 类 说明 class
WebExchangeBindException
A specialization ofServerWebInputException
thrown when after data binding and validation failure.org.springframework.web.client中NestedRuntimeException的使用
org.springframework.web.client中NestedRuntimeException的子类 修饰符和类型 类 说明 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 anHttpStatus
.class
ResourceAccessException
Exception thrown when an I/O error occurs.class
RestClientException
Base class for exceptions thrown byRestTemplate
in case a request fails because of a server error response, as determined viaResponseErrorHandler.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 suitableHttpMessageConverter
could be found to extract the response.class
UnknownHttpStatusCodeException
Exception thrown when an unknown (or custom) HTTP status code is received.org.springframework.web.method.annotation中NestedRuntimeException的使用
org.springframework.web.method.annotation中NestedRuntimeException的子类 修饰符和类型 类 说明 class
MethodArgumentConversionNotSupportedException
A ConversionNotSupportedException raised while resolving a method argument.class
MethodArgumentTypeMismatchException
A TypeMismatchException raised while resolving a controller method argument.org.springframework.web.multipart中NestedRuntimeException的使用
org.springframework.web.multipart中NestedRuntimeException的子类 修饰符和类型 类 说明 class
MaxUploadSizeExceededException
MultipartException subclass thrown when an upload exceeds the maximum upload size allowed.class
MultipartException
Exception thrown when multipart resolution fails.org.springframework.web.reactive.function中NestedRuntimeException的使用
org.springframework.web.reactive.function中NestedRuntimeException的子类 修饰符和类型 类 说明 class
UnsupportedMediaTypeException
Exception thrown to indicate that aContent-Type
is not supported.org.springframework.web.reactive.function.client中NestedRuntimeException的使用
org.springframework.web.server中NestedRuntimeException的使用
org.springframework.web.server中NestedRuntimeException的子类 修饰符和类型 类 说明 class
MediaTypeNotSupportedStatusException
已过时。in favor ofUnsupportedMediaTypeStatusException
, with this class never thrown by Spring code and to be removed in 5.3class
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 anHttpStatus.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).org.springframework.web.socket.server中NestedRuntimeException的使用
org.springframework.web.socket.server中NestedRuntimeException的子类 修饰符和类型 类 说明 class
HandshakeFailureException
Thrown when handshake processing failed to complete due to an internal, unrecoverable error.org.springframework.web.socket.sockjs中NestedRuntimeException的使用
org.springframework.web.socket.sockjs中NestedRuntimeException的子类 修饰符和类型 类 说明 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.