common-util

local.tomas.util.factory
Class FactoryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by local.tomas.util.factory.FactoryException
All Implemented Interfaces:
Serializable

public class FactoryException
extends Exception

Exception thrown by generic factories.

Author:
Teubner
See Also:
Serialized Form

Constructor Summary
FactoryException()
          Default constructor.
FactoryException(String message)
          Construct exception from message.
FactoryException(String message, Throwable cause)
          Construct exception from message and root cause.
FactoryException(Throwable cause)
          Construct exception from root cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

FactoryException

public FactoryException()
Default constructor.


FactoryException

public FactoryException(String message)
Construct exception from message.

Parameters:
message - the message

FactoryException

public FactoryException(String message,
                        Throwable cause)
Construct exception from message and root cause.

Parameters:
message - the message
cause - the root cause

FactoryException

public FactoryException(Throwable cause)
Construct exception from root cause.

Parameters:
cause - the root cause

common-util

Copyright © 2005-2007 Tomas Teubner. All Rights Reserved.