Constructor taking an exception and a string.
Constructor from a string.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public InvalidTargetObjectTypeException(String s)
s- String value that will be incorporated in the message for this exception.
e- Exception that we may have caught to reissue as an InvalidTargetObjectTypeException. The message will be used, and we may want to consider overriding the printStackTrace() methods to get data pointing back to original throw stack.
s- String value that will be incorporated in message for this exception.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.