com.tensegrity.generic.util
Class FactoryConfigurationError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended bycom.tensegrity.generic.util.FactoryConfigurationError
All Implemented Interfaces:
java.io.Serializable

public class FactoryConfigurationError
extends java.lang.Error

This Excetpion is intended to indicate that the Factory has not been configured correctly.

Version:
$Id: FactoryConfigurationError.java,v 1.5 2004/06/18 12:46:34 AndreasEbbert Exp $
Author:
M. Kegel,
See Also:
Serialized Form

Constructor Summary
FactoryConfigurationError()
          Constructor without parameters
FactoryConfigurationError(java.lang.Exception exception)
          Constructor with an exception as parameters that should be transformed into a FactoryConfigurationError
FactoryConfigurationError(java.lang.Exception exception, java.lang.String message)
          Constructor with an exception as parameters that should be transformed into a FactoryConfigurationError.
FactoryConfigurationError(java.lang.String message)
          Constructor with a String as parameter that is taken as message.
 
Method Summary
 java.lang.Exception getException()
          This method returns the exception if one is there.
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FactoryConfigurationError

public FactoryConfigurationError()
Constructor without parameters

See Also:
Object.Object()

FactoryConfigurationError

public FactoryConfigurationError(java.lang.Exception exception)
Constructor with an exception as parameters that should be transformed into a FactoryConfigurationError

Parameters:
exception - the occured exception

FactoryConfigurationError

public FactoryConfigurationError(java.lang.Exception exception,
                                 java.lang.String message)
Constructor with an exception as parameters that should be transformed into a FactoryConfigurationError. The secound parameter is a String that is taken as message

Parameters:
exception - the occured exception
message - the message to return

FactoryConfigurationError

public FactoryConfigurationError(java.lang.String message)
Constructor with a String as parameter that is taken as message.

Parameters:
message - the message to return
See Also:
Throwable.Throwable(String)
Method Detail

getException

public java.lang.Exception getException()
This method returns the exception if one is there. Otherwise null.

Returns:
Exception the occured exception or null.

getMessage

public java.lang.String getMessage()
See Also:
Throwable.getMessage()


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.