Class UnknownClassException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnknownClassException
    extends java.lang.RuntimeException
    A RuntimeException equivalent of the JDK's ClassNotFoundException, to maintain a RuntimeException paradigm.
    Since:
    0.5.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UnknownClassException()
      Creates a new UnknownClassException.
      UnknownClassException​(java.lang.String message)
      Constructs a new UnknownClassException.
      UnknownClassException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new UnknownClassException.
      UnknownClassException​(java.lang.Throwable cause)
      Constructs a new UnknownClassException.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • UnknownClassException

        public UnknownClassException()
        Creates a new UnknownClassException.
      • UnknownClassException

        public UnknownClassException​(java.lang.String message)
        Constructs a new UnknownClassException.
        Parameters:
        message - the reason for the exception
      • UnknownClassException

        public UnknownClassException​(java.lang.Throwable cause)
        Constructs a new UnknownClassException.
        Parameters:
        cause - the underlying Throwable that caused this exception to be thrown.
      • UnknownClassException

        public UnknownClassException​(java.lang.String message,
                                     java.lang.Throwable cause)
        Constructs a new UnknownClassException.
        Parameters:
        message - the reason for the exception
        cause - the underlying Throwable that caused this exception to be thrown.