Class ClassTypeException

All Implemented Interfaces:
Serializable

public class ClassTypeException extends RuntimeException
exceptions class for an unexpected class type.
Author:
Hydrolien
See Also:
Serialized Form
  • Constructor Details

    • ClassTypeException

      public ClassTypeException(String supposedClass, String realClass)
      Constructs a new runtime exception with a detail message.
      Parameters:
      supposedClass - Name of the class that program should have.
      realClass - Name of the class that program have.