Package org.springframework.core.codec
Class EncodingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.core.codec.CodecException
org.springframework.core.codec.EncodingException
- All Implemented Interfaces:
 Serializable
Indicates an issue with encoding the input Object stream with a focus on
 not being able to encode Objects. As opposed to a more general I/O errors
 or a 
CodecException such as a configuration issue that an
 Encoder may also choose to raise.- Since:
 - 5.0
 - Author:
 - Rossen Stoyanchev
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionEncodingException(String msg) Create a new EncodingException.EncodingException(String msg, Throwable cause) Create a new EncodingException. - 
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
EncodingException
Create a new EncodingException.- Parameters:
 msg- the detail message
 - 
EncodingException
Create a new EncodingException.- Parameters:
 msg- the detail messagecause- root cause for the exception, if any
 
 -