com.sapportals.connector.execution.objects

Class InvalidConditionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sapportals.connector.execution.objects.InvalidConditionException
All Implemented Interfaces:
Serializable

public class InvalidConditionException
extends Exception

Thrown when attempting access to an invalid condition This exception overrides getLocalizedMessage() which returns a message localized for current user locale

See Also:
Serialized Form

Constructor Summary
InvalidConditionException(String message)
          Constructor
InvalidConditionException(String message, String localizedString)
           
 
Method Summary
 String getLocalizedMessage()
           
 String toString()
          We need to override Throwable.toString() because it uses getLocalizedMessage() instead of Throwable.getMessage() as specified in javadoc.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidConditionException

public InvalidConditionException(String message)
Constructor

Parameters:
message - Message string

InvalidConditionException

public InvalidConditionException(String message,
                                 String localizedString)
Method Detail

getLocalizedMessage

public String getLocalizedMessage()
Overrides:
getLocalizedMessage in class Throwable

toString

public String toString()
We need to override Throwable.toString() because it uses getLocalizedMessage() instead of Throwable.getMessage() as specified in javadoc. toString() in turn is used in Throwable.printStackTrace() which would show localized message in the log otherwise.

Overrides:
toString in class Throwable
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] FRAMEWORK-EXT [sap.com] tc/conn/connectorframeworkdeprecated - EP-CON-CF
[sap.com] EP-BASIS-API [sap.com] tc/epbc/connectivityfw/api api EP-PIN
[sap.com] FRAMEWORK-EXT [sap.com] tc/conn/connectorframeworkdeprecated default EP-CON-CF


Copyright 2011 SAP AG Complete Copyright Notice