jef.dna.exceptions
Class DnaSerializationException

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

public class DnaSerializationException
extends java.lang.Exception

This exception is thrown whenever something goes wrong when serializing a Dna instance to the output stream.

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

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

DnaSerializationException

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


DnaSerializationException

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

Parameters:
msg - the detail message.

DnaSerializationException

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

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