com.sap.tc.complib.validate
Class MissingElementException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.sap.tc.complib.validate.ValidationException
|
+--com.sap.tc.complib.validate.MissingElementException
- All Implemented Interfaces:
- java.io.Serializable
- public class MissingElementException
- extends ValidationException
This exception is used to report missing properties
or attributes of a component, public part etc.
- See Also:
- Serialized Form
|
Method Summary |
java.lang.String |
getMessage()
Returns the exception message. |
java.lang.String |
getMissingMember()
Returns the name of the missing member. |
| 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 |
MissingElementException
public MissingElementException()
- Create a new MissingElementException.
MissingElementException
public MissingElementException(java.lang.String member)
- Create a new MissingElementException with a standard message.
- Parameters:
member - the name of the missing member
MissingElementException
public MissingElementException(java.lang.String message,
java.lang.String member)
- Create a new MissingElementException.
- Parameters:
message - the message of the exception.member - the name of the missing member
getMissingMember
public java.lang.String getMissingMember()
- Returns the name of the missing member.
- Returns:
- the name of the missing member.
getMessage
public java.lang.String getMessage()
- Returns the exception message.
- Overrides:
getMessage in class ValidationException