org.grinvin.factories

Class FactoryException

Known Direct Subclasses:
FactoryParameterException

public class FactoryException
extends Exception

Indicates that something went wrong in the factory.

Constructor Summary

FactoryException(String msg)
Constructs an instance of FactoryException with the specified detail message.
FactoryException(String msg, Throwable cause)
Constructs an instance of FactoryException with the specified detail message and cause

Constructor Details

FactoryException

public FactoryException(String msg)
Constructs an instance of FactoryException with the specified detail message.
Parameters:
msg - the detail message.

FactoryException

public FactoryException(String msg,
                        Throwable cause)
Constructs an instance of FactoryException with the specified detail message and cause
Parameters:
msg - the detail message.
cause - Underlying cause for this exception