类 CodecException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.core.codec.CodecException
- 所有已实现的接口:
Serializable
- 直接已知子类:
DecodingException
,EncodingException
public class CodecException extends NestedRuntimeException
General error that indicates a problem while encoding and decoding to and from an Object stream.- 从以下版本开始:
- 5.0
- 作者:
- Sebastien Deleuze, Rossen Stoyanchev
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 CodecException(String msg)
Create a new CodecException.CodecException(String msg, Throwable cause)
Create a new CodecException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
CodecException
public CodecException(String msg)
Create a new CodecException.- 参数:
msg
- the detail message
CodecException
public CodecException(String msg, @Nullable Throwable cause)
Create a new CodecException.- 参数:
msg
- the detail messagecause
- root cause for the exception, if any