public class AmiException
extends COM.TIBCO.hawk.utilities.exception.HawkException
HawkException to be used
when an error condtion occurs while executing a method invocation.
| Constructor and Description |
|---|
AmiException(COM.TIBCO.hawk.utilities.exception.HawkException hawkException)
Constructor for converting an existing
HawkException to
AmiException for the purpose of rethrowing the exception. |
AmiException(int code,
java.lang.String error)
Constructor to create an instance of AmiException.
|
getCode, getMax, getMessage, getMinpublic AmiException(int code,
java.lang.String error)
code - The error code indicating the exception conditionerror - The error text corresponding to this exception condition
The error code used for creating an instance of AmiException
must be in the legal ranges of HawkErrors and
AmiErrors only.
When propagating (rethrowing) an exception caught from other TIB/Hawk
packages, you must use the constructor
AmiException(HawkException).
public AmiException(COM.TIBCO.hawk.utilities.exception.HawkException hawkException)
HawkException to
AmiException for the purpose of rethrowing the exception.hawkException - The existing exception to be converted.
Copyright © 2000-2021 TIBCO Inc. All Rights Reserved.