Package org.springframework.core.codec
Class CodecException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.core.codec.CodecException
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 DecodingException,EncodingException
General error that indicates a problem while encoding and decoding to and
 from an Object stream.
- Since:
 - 5.0
 - Author:
 - Sebastien Deleuze, Rossen Stoyanchev
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionCodecException(String msg) Create a new CodecException.CodecException(String msg, Throwable cause) Create a new CodecException. - 
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
- 
CodecException
Create a new CodecException.- Parameters:
 msg- the detail message
 - 
CodecException
Create a new CodecException.- Parameters:
 msg- the detail messagecause- root cause for the exception, if any
 
 -