public class ClassMismatchException extends SystemException
| Constructor and Description |
|---|
ClassMismatchException(Object expected,
Object got)
Default constructor.
|
ClassMismatchException(Object expected,
Object got,
Throwable cause)
The message is "Expected: expected.toString but got: got.toString"
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ClassMismatchException(Object expected, Object got)
expected - the object/model which was expectedgot - the object/model which was given insteadpublic ClassMismatchException(Object expected, Object got, Throwable cause)
expected - the object/model which was expectedgot - the object/model which was given insteadcause - the cause of the ExceptionCopyright © 2017 SAP SE. All Rights Reserved.