Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
Collections:
Other Resources:
JDK 11 jdk.jcmd.jmod - JCmd Tool
JDK 11 jdk.jcmd.jmod is the JMOD file for JDK 11 JCmd tool,
which can be invoked by the "jcmd" command.
JDK 11 JCmd tool compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.jcmd.jmod.
JDK 11 JCmd tool compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 JCmd source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.jcmd.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/tools/jstat/SyntaxException.java
/*
* Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.tools.jstat;
import java.io.StreamTokenizer;
import java.util.Set;
import java.util.Iterator;
/**
* An exception class for syntax exceptions detected by the options file
* parser.
*
* @author Brian Doherty
* @since 1.5
*/
@SuppressWarnings("serial") // JDK implementation class
public class SyntaxException extends ParserException {
private String message;
public SyntaxException(String message) {
this.message = message;
}
public SyntaxException(int lineno, String expected, String found) {
message = "Syntax error at line " + lineno
+ ": Expected " + expected
+ ", Found " + found;
}
public SyntaxException(int lineno, String expected, Token found) {
message = "Syntax error at line " + lineno
+ ": Expected " + expected
+ ", Found " + found.toMessage();
}
public SyntaxException(int lineno, Token expected, Token found) {
message = "Syntax error at line " + lineno
+ ": Expected " + expected.toMessage()
+ ", Found " + found.toMessage();
}
public SyntaxException(int lineno, Set<String> expected, Token found) {
StringBuilder msg = new StringBuilder();
msg.append("Syntax error at line ").append(lineno)
.append(": Expected one of \'");
for (String keyWord : expected) {
msg.append(keyWord).append('|');
}
if (!expected.isEmpty()) {
msg.setLength(msg.length() - 1);
}
message = msg.append("\', Found ").append(found.toMessage()).toString();
}
public String getMessage() {
return message;
}
}
⏎ sun/tools/jstat/SyntaxException.java
Or download all of them as a single archive file:
File name: jdk.jcmd-11.0.1-src.zip File size: 47892 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.jconsole.jmod - JConsole Tool
2020-07-07, ≈20🔥, 0💬
Popular Posts:
What is the jaxp\SourceValidator.jav aprovided in the Apache Xerces package? I have Apache Xerces 2....
What Is poi-3.5.jar - Part 2? poi-3.5.jar is one of the JAR files for Apache POI 3.5, which provides...
Java Architecture for XML Binding (JAXB) is a Java API that allows Java developers to map Java class...
Provides a simple high-level Http server API, which can be used to build embedded HTTP servers. Both...
What Is poi-scratchpad-5.2.3.jar ?poi-scratchpad-5.2.3.jar is one of the JAR files for Apache POI 5....