Exception in thread "main" java. lang. NumberFormatException: For input string: ";
在线程“主要”数字格式异常例外:输入字符串:”;
Well, as you've seen, this check has been subverted and now a NumberFormatException is thrown.
正如已经看到的那样,这个检查已经被破坏,抛出了一个NumberFor matException。
For example, if the string "123a" is mapped to an integer, you will see a NumberFormatException in the server log.
例如,如果将字符串“123a”映射到到一个整数,您将在服务器日志中看到NumberFor matException。
So you do have to make sure there is some knowledge in the calling application of an RMI object, or you could lose the wrapped information in a RemoteException (perhaps a NumberFormatException).
所以,您必须确保在调用RMI对象的应用程序中有一些知识,否则您会丢失在RemoteException (可能 NumberFormatException )中的包装信息。
So you do have to make sure there is some knowledge in the calling application of an RMI object, or you could lose the wrapped information in a RemoteException (perhaps a NumberFormatException).
所以,您必须确保在调用RMI对象的应用程序中有一些知识,否则您会丢失在RemoteException (可能 NumberFormatException )中的包装信息。
应用推荐