Top Description Constructors
org.springframework.core.codec

public Class EncodingException

extends CodecException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
org.springframework.lang.Nullable

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.
Author
Rossen Stoyanchev
Since
5.0
See Also
Encoder

Constructor Summary

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

Create a new EncodingException.

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

Create a new EncodingException.

Constructor Detail

EncodingExceptionback to summary
public EncodingException(String msg)

Create a new EncodingException.

Parameters
msg:String

the detail message

EncodingExceptionback to summary
public EncodingException(String msg, Throwable cause)

Create a new EncodingException.

Parameters
msg:String

the detail message

cause:Throwable

root cause for the exception, if any