Copyright @ 2002 SAP. All Rights Reserved.

com.sap.tc.complib.validate
Class InvalidElementContent

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sap.tc.complib.validate.ValidationException
                    |
                    +--com.sap.tc.complib.validate.InvalidElementContent
All Implemented Interfaces:
java.io.Serializable

public class InvalidElementContent
extends ValidationException

This exception is used to report invalid value of properties of a component, public part etc.

See Also:
Serialized Form

Constructor Summary
InvalidElementContent()
          Create a new InvalidElementContent exception.
InvalidElementContent(java.lang.String message, java.lang.Object content)
          Create a new InvalidElementContent exception.
 
Method Summary
 java.lang.Object getInvalidContent()
          Returns the property that caused this exception.
 
Methods inherited from class com.sap.tc.complib.validate.ValidationException
getCause, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidElementContent

public InvalidElementContent()
Create a new InvalidElementContent exception.

InvalidElementContent

public InvalidElementContent(java.lang.String message,
                             java.lang.Object content)
Create a new InvalidElementContent exception.
Parameters:
message - the error or warning message.
content - the content or value of the invalid element.
Method Detail

getInvalidContent

public java.lang.Object getInvalidContent()
Returns the property that caused this exception.
Returns:
reference to the invalid property.

Copyright @ 2002 SAP. All Rights Reserved.