Class InternalException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InternalException
    extends java.lang.RuntimeException
    Exception thrown when an error occurs while accessing internal resources. This is generally used to convert checked exceptions to runtime exceptions.
    Since:
    2.22.0
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      InternalException​(java.lang.String message)
      Construct an exception with a message.
      InternalException​(java.lang.String message, java.lang.Throwable cause)
      Construct an exception with a message and underlying cause.
      InternalException​(java.lang.Throwable cause)
      Construct an exception with an underlying cause.
    • 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

      • InternalException

        public InternalException​(java.lang.String message)
        Construct an exception with a message.
        Parameters:
        message - The reason for the exception
      • InternalException

        public InternalException​(java.lang.String message,
                                 java.lang.Throwable cause)
        Construct an exception with a message and underlying cause.
        Parameters:
        message - The reason for the exception
        cause - The underlying cause of the exception
      • InternalException

        public InternalException​(java.lang.Throwable cause)
        Construct an exception with an underlying cause.
        Parameters:
        cause - The underlying cause of the exception