jef.deepCopier.exceptions
Class UnknownDeepCopierException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by jef.deepCopier.exceptions.UnknownDeepCopierException
All Implemented Interfaces:
java.io.Serializable

public class UnknownDeepCopierException
extends java.lang.Exception

This exception is thrown whenever the DeepCopierFactory is required to instantiate an unknown type of DeepCopier.

Author:
Francesco Russo frusso@dev.java.net
See Also:
Serialized Form

Constructor Summary
UnknownDeepCopierException()
          Creates a new instance of UnknownDeepCopierException
UnknownDeepCopierException(java.lang.String msg)
          Constructor with error message.
UnknownDeepCopierException(java.lang.String msg, byte type)
          Constructor with error message and the type that caused the exception.
 
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

UnknownDeepCopierException

public UnknownDeepCopierException()
Creates a new instance of UnknownDeepCopierException


UnknownDeepCopierException

public UnknownDeepCopierException(java.lang.String msg)
Constructor with error message.

Parameters:
msg - The error message

UnknownDeepCopierException

public UnknownDeepCopierException(java.lang.String msg,
                                  byte type)
Constructor with error message and the type that caused the exception.

Parameters:
msg - The error message
type - The wrong DeepCopier type