jef.dna.exceptions
Class DnaValidationException

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

public class DnaValidationException
extends java.lang.Exception

This exception is thrown whenever the validation process fails over a Dna instance.

Author:
Francesco Russo (frusso@cs.unibo.it)
See Also:
Serialized Form

Constructor Summary
DnaValidationException()
          Creates a new instance of DnaValidationException without detail message.
DnaValidationException(java.lang.String msg)
          Constructs an instance of DnaValidationException with the specified detail message.
DnaValidationException(java.lang.String msg, java.lang.Throwable cause)
          Constructs an instance of DnaValidationException with the specified message and the cause of 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

DnaValidationException

public DnaValidationException()
Creates a new instance of DnaValidationException without detail message.


DnaValidationException

public DnaValidationException(java.lang.String msg)
Constructs an instance of DnaValidationException with the specified detail message.

Parameters:
msg - the detail message.

DnaValidationException

public DnaValidationException(java.lang.String msg,
                              java.lang.Throwable cause)
Constructs an instance of DnaValidationException with the specified message and the cause of the exception.

Parameters:
msg - The detailed message
cause - The cause of the exception