UnserializationException.java :  » Web-Framework » anvil » anvil » core » Java Open Source

Java Open Source » Web Framework » anvil 
anvil » anvil » core » UnserializationException.java
/*
 * $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);
  }
  
  
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.