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 SummaryConstructorsConstructorDescriptionCreate a new CodecException.CodecException(@Nullable String msg, @Nullable Throwable cause) Create a new CodecException.
- 
Method SummaryMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
CodecExceptionCreate a new CodecException.- Parameters:
- msg- the detail message
 
- 
CodecExceptionCreate a new CodecException.- Parameters:
- msg- the detail message
- cause- root cause for the exception, if any
 
 
-