public class ServerException extends RemoteException
ServerException
is thrown as a result of a remote method
invocation when a RemoteException
is thrown while processing
the invocation on the server, either while unmarshalling the arguments,
executing the remote method itself, or marshalling the return value.detail
Constructor and Description |
---|
ServerException(java.lang.String s)
Constructs a
ServerException with the specified
detail message. |
ServerException(java.lang.String s,
java.lang.Exception ex)
Constructs a
ServerException with the specified
detail message and nested exception. |
getMessage
public ServerException(java.lang.String s)
ServerException
with the specified
detail message.s
- the detail messagepublic ServerException(java.lang.String s, java.lang.Exception ex)
ServerException
with the specified
detail message and nested exception.s
- the detail messageex
- the nested exceptionCopyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.