📄 addressingdispositionexception.java
字号:
/* * @(#)AddressingDispositionException.java 1.4 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package com.sun.corba.se.internal.iiop;import com.sun.corba.se.internal.iiop.messages.KeyAddr;/** * This exception is thrown while reading GIOP 1.2 Request, LocateRequest * to indicate that a TargetAddress disposition is unacceptable. * If this exception is caught explicitly, this need to be rethrown. This * is eventually handled within RequestPRocessor and an appropriate reply * is sent back to the client. * * GIOP 1.2 allows three dispositions : KeyAddr (ObjectKey), ProfileAddr (ior * profile), IORAddressingInfo (IOR). If the ORB does not support the * disposition contained in the GIOP Request / LocateRequest 1.2 message, * then it sends a Reply / LocateReply indicating the correct disposition, * which the client ORB shall use to transparently retry the request * with the correct disposition. * */public class AddressingDispositionException extends RuntimeException { private short expectedAddrDisp = KeyAddr.value; public AddressingDispositionException(short expectedAddrDisp) { this.expectedAddrDisp = expectedAddrDisp; } public short expectedAddrDisp() { return this.expectedAddrDisp; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -