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
|
Method Summary |
java.lang.Object |
getInvalidContent()
Returns the property that caused this exception. |
| 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 |
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.
getInvalidContent
public java.lang.Object getInvalidContent()
- Returns the property that caused this exception.
- Returns:
- reference to the invalid property.