|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jp.protection.priv.pro.parser.OrderParser.Error com.jp.protection.priv.pro.parser.OrderParser.PropertyError
public static class OrderParser.PropertyError
An extension of Error
class intended to represents errors occurred during order property reading
Field Summary | |
---|---|
protected int |
fColumn
|
protected int |
fLine
|
protected java.lang.String |
fName
|
Fields inherited from class com.jp.protection.priv.pro.parser.OrderParser.Error |
---|
fHTMLMessage, fMessage, fSeverity, SEVERITY_HIGH, SEVERITY_LOW, SEVERITY_MEDIUM |
Constructor Summary | |
---|---|
OrderParser.PropertyError(java.lang.String aName,
java.lang.String aMessage,
int aLine,
int aColumn)
Creates and initializes an new PropertyError instance |
Method Summary | |
---|---|
int |
getColumn()
Returns column number where this property is located in the order |
int |
getLine()
Returns line number where this property is located in the order |
java.lang.String |
getName()
Returns the name of the property |
java.lang.String |
toHTML()
Formats and returns message as HTML if HTML message was not specified; otherwise simply returns HTML message value |
java.lang.String |
toString()
Returns textual representation of the error |
Methods inherited from class com.jp.protection.priv.pro.parser.OrderParser.Error |
---|
compareTo, getHTMLMessage, getMessage, getSeverity, setHTMLMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String fName
protected int fLine
protected int fColumn
Constructor Detail |
---|
public OrderParser.PropertyError(java.lang.String aName, java.lang.String aMessage, int aLine, int aColumn)
PropertyError
instance
aName
- property nameaMessage
- an error messageaLine
- number of line this property is located in the orderaColumn
- number of column this property is located in the orderMethod Detail |
---|
public java.lang.String toString()
OrderParser.Error
toString
in class OrderParser.Error
public java.lang.String toHTML()
OrderParser.Error
toHTML
in class OrderParser.Error
public int getColumn()
-1
if it is unknown/not applicablepublic int getLine()
-1
if it is unknown/not applicablepublic java.lang.String getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |