com.atlassian.jira.jql.parser
Class JqlParseErrorMessage

java.lang.Object
  extended by com.atlassian.jira.jql.parser.JqlParseErrorMessage

public final class JqlParseErrorMessage
extends Object

Represents a parse error message from the JqlParser. Internally contains a i18n key, its arguments and the position of the error.

Since:
v4.0

Constructor Summary
JqlParseErrorMessage(String key, int lineNumber, int columnNumber, Collection<?> arguments)
           
JqlParseErrorMessage(String key, int lineNumber, int columnNumber, Object... arguments)
           
 
Method Summary
 boolean equals(Object o)
           
 List<?> getArguments()
           
 int getColumnNumber()
           
 String getKey()
           
 int getLineNumber()
           
 String getLocalizedErrorMessage(I18nHelper helper)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JqlParseErrorMessage

public JqlParseErrorMessage(String key,
                            int lineNumber,
                            int columnNumber,
                            Collection<?> arguments)

JqlParseErrorMessage

public JqlParseErrorMessage(String key,
                            int lineNumber,
                            int columnNumber,
                            Object... arguments)
Method Detail

getKey

public String getKey()

getArguments

public List<?> getArguments()

getLineNumber

public int getLineNumber()

getColumnNumber

public int getColumnNumber()

getLocalizedErrorMessage

public String getLocalizedErrorMessage(I18nHelper helper)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012 Atlassian. All Rights Reserved.