public class

SyntaxException

extends ParserException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ sun.tools.jstat.ParserException
         ↳ sun.tools.jstat.SyntaxException

Class Overview

An exception class for syntax exceptions detected by the options file parser.

Summary

Public Constructors
SyntaxException(String message)
SyntaxException(int lineno, String expected, String found)
SyntaxException(int lineno, String expected, Token found)
SyntaxException(int lineno, Token expected, Token found)
SyntaxException(int lineno, Set expected, Token found)
Public Methods
String getMessage()
Returns the detail message string of this throwable.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public SyntaxException (String message)

public SyntaxException (int lineno, String expected, String found)

public SyntaxException (int lineno, String expected, Token found)

public SyntaxException (int lineno, Token expected, Token found)

public SyntaxException (int lineno, Set expected, Token found)

Public Methods

public String getMessage ()

Returns the detail message string of this throwable.

Returns
  • the detail message string of this Throwable instance (which may be null).