Serializable
public class UnmarshalException extends RemoteException
UnmarshalException
can be thrown while unmarshalling the parameters or results of a remote method call if any of the following conditions occur: java.io.IOException
occurs unmarshalling parameters (on the server side) or the return value (on the client side). java.lang.ClassNotFoundException
occurs during unmarshalling parameters or return values detail
Constructor | Description |
---|---|
UnmarshalException |
Constructs an UnmarshalException with the specified detail message. |
UnmarshalException |
Constructs an UnmarshalException with the specified detail message and nested exception. |
getCause, getMessage
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnmarshalException(String s)
UnmarshalException
with the specified detail message.s
- the detail messagepublic UnmarshalException(String s, Exception ex)
UnmarshalException
with the specified detail message and nested exception.s
- the detail messageex
- the nested exception
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.rmi/java/rmi/UnmarshalException.html