The UnknownEntityException exception

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 the java.lang.Throwable and class.java.lang.Object classes, as shown here:

The java.lang.Throwable class methods are as follows:

  • addSuppressed()
  • fillInStackTrace()
  • getCause()
  • getLocalizedMessage()
  • getMessage()
  • getStackTrace()
  • getSuppressed()
  • initCause()
  • printStackTrace()
  • setStackTrace()
  • toString()

The java.lang.Object class methods are as follows:

  • clone()
  • equals()
  • finalize()
  • getClass()
  • hashCode()
  • notify()
  • notifyAll()
  • wait()

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset