|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.highdeal.hci.CommunicationFailureException
public class CommunicationFailureException
Exception thrown when the HCI communication between your client application and
the SAP CC Core Server system fails; get the host information (as a string) and
the numerical response code of the HTTP communication layer.
See the numerical response code by using
the getHttpResponseCode() method.
Examples
timeout expires
Depending on your business requirements, design and develop the relevant error handling functions in your client application.
MessageSender,
BadMessageFormatException,
Serialized Form| Constructor Summary | |
|---|---|
CommunicationFailureException()
Constructs an empty exception. |
|
CommunicationFailureException(java.lang.String hostInfo)
Constructs. |
|
CommunicationFailureException(java.lang.String hostInfo,
int httpResponseCode)
Constructs. |
|
| Method Summary | |
|---|---|
java.lang.String |
getHostInfo()
Returns the host information as a string. |
int |
getHttpResponseCode()
Returns the numerical response code of HTTP layer. |
void |
setHostInfo(java.lang.String hostInfo)
Sets the host information. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CommunicationFailureException()
public CommunicationFailureException(java.lang.String hostInfo)
hostInfo - The host information
public CommunicationFailureException(java.lang.String hostInfo,
int httpResponseCode)
| Method Detail |
|---|
public java.lang.String getHostInfo()
public void setHostInfo(java.lang.String hostInfo)
hostInfo - The hostInfo to setpublic int getHttpResponseCode()
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||