Module java.base
Package java.lang

Class OutOfMemoryError

    • Constructor Detail

      • OutOfMemoryError

        public OutOfMemoryError​()
        Constructs an OutOfMemoryError with no detail message.
      • OutOfMemoryError

        public OutOfMemoryError​(String s)
        Constructs an OutOfMemoryError with the specified detail message.
        Parameters:
        s - the detail message.