---
title: "Class NoSuchElementException"
---

`package java.util`

```text
java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--java.util.NoSuchElementException
```

## 설명

**extends RuntimeException:**

Enumeration에서 더 이상 객체가 없을 때 발생하는 Exception 클래스.

## 생성자 요약

- NoSuchElementException () NoSuchElementException객체를 생성한다.
- NoSuchElementException ( String detail) NoSuchElementException객체를 생성한다.

## 생성자 상세

### NoSuchElementException

```java
public NoSuchElementException()
```

- NoSuchElementException객체를 생성한다.

### NoSuchElementException

```java
public NoSuchElementException(String detail)
```

**Parameters:**
- `detail` - NoSuchElementException의 세부 메세지.

***AromaSoft Corp. Proprietary and Confidential***

*(C)opyright 2003 AromaSoft Corp. All right reserved. 
Contact : [contact@aromasoft.com](mailto:contact@aromasoft.com)*
