Class DataSourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.hp.lft.unittesting.datadriving.DataSourceException
- All Implemented Interfaces:
- Serializable
The exceptions thrown when errors occur in Data Source Processing.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionInitializes a new instance of DataSourceException with a default message.DataSourceException(String message) Initializes a new instance of DataSourceException with the specified error message.DataSourceException(String className, String methodName, String message) Initializes a new instance of DataSourceException with the specified error message.DataSourceException(String className, String methodName, String message, Throwable exception) Initializes a new instance of DataSourceException with the specified error message and a reference to the inner exception that is the cause of this exception.DataSourceException(String message, Throwable exception) Initializes a new instance of DataSourceException with the specified error message and a reference to the inner exception that is the cause of this exception.
- 
Method SummaryModifier and TypeMethodDescriptionGets the name of the test class to be run.Gets the name of the test method to be run.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
DataSourceExceptionpublic DataSourceException()Initializes a new instance of DataSourceException with a default message.
- 
DataSourceExceptionInitializes a new instance of DataSourceException with the specified error message and a reference to the inner exception that is the cause of this exception.- Parameters:
- message- : The error message with the reason for this exception.
- exception- : The inner exception that caused this exception.
 
- 
DataSourceExceptionInitializes a new instance of DataSourceException with the specified error message.- Parameters:
- message- : The error message with the reason for this exception.
 
- 
DataSourceExceptionpublic DataSourceException(String className, String methodName, String message, Throwable exception) Initializes a new instance of DataSourceException with the specified error message and a reference to the inner exception that is the cause of this exception.- Parameters:
- className- : The name of the test class to be run.
- methodName- : The name of the test method to be run.
- message- : The error message with the reason for this exception.
- exception- : The inner exception that caused this exception.
 
- 
DataSourceExceptionInitializes a new instance of DataSourceException with the specified error message.- Parameters:
- className- : The name of the test class to be run.
- methodName- : The name of the test method to be run.
- message- : The error message with the reason for this exception.
 
 
- 
- 
Method Details- 
getClassNameGets the name of the test class to be run.- Returns:
- : the name of the test class to be run.
 
- 
getMethodNameGets the name of the test method to be run.- Returns:
- : the name of the test method to be run.
 
 
-