Top Description Constructors Methods
org.springframework.core.codec

public Class CodecException

extends NestedRuntimeException
Class Inheritance
Known Direct Subclasses
org.springframework.core.codec.DecodingException, org.springframework.core.codec.EncodingException
Annotations
@SuppressWarnings:serial
Imports
org.springframework.core.NestedRuntimeException, org.springframework.lang.Nullable

General error that indicates a problem while encoding and decoding to and from an Object stream.
Authors
Sebastien Deleuze, Rossen Stoyanchev
Since
5.0

Constructor Summary

AccessConstructor and Description
public
CodecException(String
the detail message
msg
)

Create a new CodecException.

public
CodecException(String
the detail message
msg
,
Throwable
root cause for the exception, if any
cause
)

Create a new CodecException.

Method Summary

Inherited from org.springframework.core.NestedRuntimeException:
containsgetMostSpecificCausegetRootCause

Constructor Detail

CodecExceptionback to summary
public CodecException(String msg)

Create a new CodecException.

Parameters
msg:String

the detail message

CodecExceptionback to summary
public CodecException(String msg, Throwable cause)

Create a new CodecException.

Parameters
msg:String

the detail message

cause:Throwable

root cause for the exception, if any