Search this API

y.io
Class BadVersionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by y.io.BadVersionException
All Implemented Interfaces:
java.io.Serializable

public class BadVersionException
extends java.io.IOException

A BadVersionException is thrown upon deserializing graphs from YGF format for elements whose associated serialization version is not supported by the corresponding read(ObjectInputStream) method.

See Also:
NodeRealizer.read(java.io.ObjectInputStream), EdgeRealizer.read(java.io.ObjectInputStream), YLabel.read(java.io.ObjectInputStream), Serialized Form
 

Constructor Summary
BadVersionException()
          Creates a new instance of BadVersionException without detail message.
BadVersionException(byte found)
          Creates a new instance of BadVersionException with detail message.
BadVersionException(byte expected, byte found)
          Creates a new instance of BadVersionException without detail message.
BadVersionException(java.lang.String msg)
          Constructs an instance of BadVersionException 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

BadVersionException

public BadVersionException(byte found)
Creates a new instance of BadVersionException with detail message.


BadVersionException

public BadVersionException(byte expected,
                           byte found)
Creates a new instance of BadVersionException without detail message.


BadVersionException

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


BadVersionException

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

Parameters:
msg - the detail message.

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.