Copyright @ 2002 SAP. All Rights Reserved.

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

Constructor Summary
MissingElementException()
          Create a new MissingElementException.
MissingElementException(java.lang.String member)
          Create a new MissingElementException with a standard message.
MissingElementException(java.lang.String message, java.lang.String member)
          Create a new MissingElementException.
 
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 com.sap.tc.complib.validate.ValidationException
getCause, 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

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
Method Detail

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

Copyright @ 2002 SAP. All Rights Reserved.