com.sap.aii.mapping.api

Class WrongParameterTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sap.aii.mapping.api.StreamTransformationRuntimeException
                  extended by com.sap.aii.mapping.api.WrongParameterTypeException
All Implemented Interfaces:
Serializable

public class WrongParameterTypeException
extends StreamTransformationRuntimeException

See Also:
Serialized Form

Constructor Summary
WrongParameterTypeException(String parameterName, Class wrongClass, Class expectedClass, boolean isInput)
           
WrongParameterTypeException(String parameterName, Object wrongValue, Class expectedClass, boolean isInput)
           
 
Method Summary
 String getParameterName()
           
 String getRightType()
           
 String getWrongType()
           
 boolean isInput()
           
 
Methods inherited from class com.sap.aii.mapping.api.StreamTransformationRuntimeException
getRootCause
 
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

WrongParameterTypeException

public WrongParameterTypeException(String parameterName,
                                   Object wrongValue,
                                   Class expectedClass,
                                   boolean isInput)

WrongParameterTypeException

public WrongParameterTypeException(String parameterName,
                                   Class wrongClass,
                                   Class expectedClass,
                                   boolean isInput)
Method Detail

isInput

public boolean isInput()
Returns:
true, iff the paramter which caused this exception is an input-paramter. otherwise false.

getParameterName

public String getParameterName()
Returns:
the name of the paramter caused this exception.

getRightType

public String getRightType()
Returns:
the rigtht type of the paramter caused this exception.

getWrongType

public String getWrongType()
Returns:
the wrong type of the paramter caused this exception.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] SAP_XIAF [sap.com] com.sap.aii.mapping.lib.facade api BC-XI


Copyright 2011 SAP AG Complete Copyright Notice