jef.dna.exceptions
Class DnaDeserializationException

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

public class DnaDeserializationException
extends java.lang.Exception

This exception is thrown is something goes wrong when deserializing a Dna instance from a stream. Source exceptions are provided.

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

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

DnaDeserializationException

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


DnaDeserializationException

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

Parameters:
msg - the detail message.

DnaDeserializationException

public DnaDeserializationException(java.lang.String msg,
                                   java.lang.Throwable cause)
Constructs an instance of DnaDeserializationException with the specified detail message and the provided root cause.

Parameters:
msg - The detail message
cause - The root exception