Copyright @ 2002 SAP. All Rights Reserved.

com.sap.tc.complib.provider
Class ProviderException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sap.tc.complib.provider.ProviderException
All Implemented Interfaces:
java.io.Serializable

public class ProviderException
extends java.lang.Exception

This exception reports that an InputProvider or OutputProvider was no able to deliver a requested component or public part.

See Also:
Serialized Form

Constructor Summary
ProviderException()
          Create a new ValidationException without message.
ProviderException(java.lang.String message)
          Create a new ValidationException.
ProviderException(java.lang.String message, java.lang.Throwable cause)
          Create a new ValidationException.
 
Method Summary
 java.lang.Throwable getCause()
          get the excpetion that caused this ValidationException.
 java.lang.String getMessage()
          get the excpetion message String
 void printStackTrace()
          printStackTrace is overwritten, prints both stack traces
 void printStackTrace(java.io.PrintStream ps)
          printStackTrace is overwritten, prints both stack traces
 void printStackTrace(java.io.PrintWriter pw)
          printStackTrace is overwritten, prints both stack traces
 
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

ProviderException

public ProviderException()
Create a new ValidationException without message.

ProviderException

public ProviderException(java.lang.String message)
Create a new ValidationException.
Parameters:
message - the error or warning message.

ProviderException

public ProviderException(java.lang.String message,
                         java.lang.Throwable cause)
Create a new ValidationException.
Parameters:
message - the error or warning message.
cause - the execption that caused this exception
Method Detail

getCause

public java.lang.Throwable getCause()
get the excpetion that caused this ValidationException.

getMessage

public java.lang.String getMessage()
get the excpetion message String
Overrides:
getMessage in class java.lang.Throwable

printStackTrace

public void printStackTrace()
printStackTrace is overwritten, prints both stack traces

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream ps)
printStackTrace is overwritten, prints both stack traces

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
ps - print stream to which stack trace is written

printStackTrace

public void printStackTrace(java.io.PrintWriter pw)
printStackTrace is overwritten, prints both stack traces

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
pw - print writer to which stack trace is written

Copyright @ 2002 SAP. All Rights Reserved.