polyglot.types
Class BadSerializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
polyglot.types.SemanticException
polyglot.types.BadSerializationException
- All Implemented Interfaces:
- java.io.Serializable
public class BadSerializationException
- extends SemanticException
Signals an error in the class resolver system. This exception is thrown
when a ClassResolver
finds a class file that contains encoded
Polyglot type information, but is unable to read in the serialized class
information. The most likely cause of this exception is that the compiler
(or compiler extension) has been modified since the class file was created,
resulting in incompatible serializations. The solution is to delete the class
file, and recompile it from the source.
- See Also:
- Serialized Form
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 |
BadSerializationException
public BadSerializationException(java.lang.String className)
BadSerializationException
public BadSerializationException(java.lang.String className,
Position position)
getClassName
public java.lang.String getClassName()