Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 17 java.base.jmod - Base Module
JDK 17 java.base.jmod is the JMOD file for JDK 17 Base module.
JDK 17 Base module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.base.jmod.
JDK 17 Base module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Base module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.base.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/lang/EnumConstantNotPresentException.java
/* * Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.lang; /** * Thrown when an application tries to access an enum constant by name * and the enum type contains no constant with the specified name. * This exception can be thrown by the {@linkplain * java.lang.reflect.AnnotatedElement API used to read annotations * reflectively}. * * @author Josh Bloch * @see java.lang.reflect.AnnotatedElement * @since 1.5 */ @SuppressWarnings("rawtypes") /* rawtypes are part of the public api */ public class EnumConstantNotPresentException extends RuntimeException { @java.io.Serial private static final long serialVersionUID = -6046998521960521108L; /** * The type of the missing enum constant. */ private Class<? extends Enum> enumType; /** * The name of the missing enum constant. */ private String constantName; /** * Constructs an {@code EnumConstantNotPresentException} for the * specified constant. * * @param enumType the type of the missing enum constant * @param constantName the name of the missing enum constant */ public EnumConstantNotPresentException(Class<? extends Enum> enumType, String constantName) { super(enumType.getName() + "." + constantName); this.enumType = enumType; this.constantName = constantName; } /** * Returns the type of the missing enum constant. * * @return the type of the missing enum constant */ public Class<? extends Enum> enumType() { return enumType; } /** * Returns the name of the missing enum constant. * * @return the name of the missing enum constant */ public String constantName() { return constantName; } }
⏎ java/lang/EnumConstantNotPresentException.java
Or download all of them as a single archive file:
File name: java.base-17.0.5-src.zip File size: 8883851 bytes Release date: 2022-09-13 Download
2023-09-26, 44352👍, 1💬
Popular Posts:
JDK 11 jdk.jlink.jmod is the JMOD file for JDK 11 JLink tool, which can be invoked by the "jlink" co...
ANTLR is a powerful parser generator for multiple programming languages including Java. ANTLR contai...
JDK 11 jdk.jfr.jmod is the JMOD file for JDK 11 JFR module. JDK 11 JFR module compiled class files a...
This package is the backport of java.util.concurrent API, introduced in Java 5.0 and further refined...
Guava is a suite of core and expanded libraries that include utility classes, google's collections, ...