Package java.lang

Class RuntimeException

    • Constructor Detail

      • RuntimeException

        public RuntimeException()
        Constructs a new RuntimeException that includes the current stack trace.
      • RuntimeException

        public RuntimeException​(String detailMessage)
        Constructs a new RuntimeException with the current stack trace and the specified detail message.
        Parameters:
        detailMessage - the detail message for this exception.
      • RuntimeException

        public RuntimeException​(String detailMessage,
                                Throwable throwable)
        Constructs a new RuntimeException with the current stack trace, the specified detail message and the specified cause.
        Parameters:
        detailMessage - the detail message for this exception.
        throwable - the cause of this exception.
      • RuntimeException

        public RuntimeException​(Throwable throwable)
        Constructs a new RuntimeException with the current stack trace and the specified cause.
        Parameters:
        throwable - the cause of this exception.