This rule flags the following deprecated exception class:
This exception class was deprecated in WebSphere Application Server Version 6.1 and might be removed in a future release.
Any use of this class should be replaced with the com.ibm.websphere.sib.mediation.handler.MessageContextException class.
In the source scanner, the quick fix for this rule changes references of SIMessageContextException to MessageContextException.
For example,|
import com.ibm.websphere.sib.mediation.handler.SIMessageContextException;
public MyClass { private void doX() throws SIMessageContextException { try { .... } catch (SIMessageContextException mce) { .... throw mce; } ... } |
|
import com.ibm.websphere.sib.mediation.handler.MessageContextException;
public MyClass { private void doX() throws MessageContextException { try { .... } catch (MessageContextException mce) { .... throw mce; } ... } |
If "SIMessageContextException" is used in a comment, the comment text is not changed.
For additional class information, see: