com.sap.netweaver.bc.uwl.connect

Class ConnectorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sap.netweaver.bc.uwl.UWLException
              extended bycom.sap.netweaver.bc.uwl.connect.ConnectorException
All Implemented Interfaces:
Serializable

public class ConnectorException
extends UWLException

This exception is thrown by connector related methods. ConnectorException is thrown by all Provider Connectors in case of backend problem. This problem may be either due to connections or missing functionality or any execution problem. Usually many of the connector methods also return a result object. When it comes to the decision of whether to throw the Exception or return the result, thumb rule is if any method call fails to the provider system, then simply throw the exception.

See Also:
ErrorMessages, Serialized Form

Constructor Summary
ConnectorException(int code, String message)
           
ConnectorException(String message)
           
ConnectorException(Throwable original)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class com.sap.netweaver.bc.uwl.UWLException
getCode, getLocalizedMessage, getMessage, getOriginalException, getUwlExceptionID, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectorException

public ConnectorException(int code,
                          String message)
Parameters:
code - error code defined in ErrorMessages.Codes
message -

ConnectorException

public ConnectorException(String message)

ConnectorException

public ConnectorException(Throwable original)
Method Detail

toString

public String toString()


Copyright 2006 SAP AG Complete Copyright Notice