The UnknownEntityException class extends RuntimeException and is a superclass of unknown exceptions. The class constructor is as follows:
protected UnknownEntityException(String message)
The constructor creates a new instance of UnknownEntityException with the message provided as a string argument. The method does not take additional arguments.
This class does not have its own methods, but inherits methods from both java.lang.Throwable and class.java.lang.Object classes as shown here:
The java.lang.Throwable class methods:
- addSuppressed()
- fillInStackTrace()
- getCause()
- getLocalizedMessage()
- getMessage()
- getStackTrace()
- getSuppressed()
- initCause()
- printStackTrace()
- setStackTrace()
- toString()
The java.lang.Object ...