Package net.corda.v5.serialization
Class MissingSerializerException
-
- All Implemented Interfaces:
-
java.io.Serializable
public class MissingSerializerException extends NotSerializableException
Thrown by the serialization framework, usually indicating that a custom serializer needs to be included in a transaction.
-
-
Field Summary
Fields Modifier and Type Field Description public final String
typeDescriptor
public final List<String>
typeNames
public Throwable
cause
public Array<StackTraceElement>
stackTrace
-
Constructor Summary
Constructors Constructor Description MissingSerializerException(String message, String typeDescriptor)
Constructs a MissingSerializerException with the specified message and type descriptor. MissingSerializerException(String message, List<String> typeNames)
Constructs a MissingSerializerException with the specified message and type names.
-
Method Summary
Modifier and Type Method Description String
getTypeDescriptor()
Returns the type descriptor stored in this exception. List<String>
getTypeNames()
Returns the type names stored in this exception. -
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MissingSerializerException
MissingSerializerException(String message, String typeDescriptor)
Constructs a MissingSerializerException with the specified message and type descriptor.- Parameters:
message
- Error message describing exception.typeDescriptor
- Type descriptor to help diagnose the exception.
-
-
Method Detail
-
getTypeDescriptor
@Nullable() String getTypeDescriptor()
Returns the type descriptor stored in this exception.
-
getTypeNames
@NotNull() List<String> getTypeNames()
Returns the type names stored in this exception.
-
-
-
-