/*
* $Id: UnserializationException.java,v 1.4 2002/09/16 08:05:02 jkl Exp $
*
* Copyright (c) 2002 Njet Communications Ltd. All Rights Reserved.
*
* Use is subject to license terms, as defined in
* Anvil Sofware License, Version 1.1. See LICENSE
* file, or http://njet.org/license-1.1.txt
*/
package anvil.core;
/**
* Exception indicating data corruption in serialized data structure.
*
* @author Jani Lehtimki
*/
public class UnserializationException extends Exception
{
/**
* Instantiates new exception with no message.
*/
public UnserializationException()
{
super("Data corrupted");
}
/**
* Instantiates new exception with given message.
*
* @param message Exception message
*/
public UnserializationException(String message)
{
super(message);
}
}
|