public class DdlParserProblem extends ParsingException implements DdlConstants.Problems
DdlConstants.Problems that is also a ParsingException.ERROR, OK, WARNING| Constructor and Description |
|---|
DdlParserProblem(int level,
Position position,
String message) |
DdlParserProblem(int level,
Position position,
String message,
Throwable cause) |
DdlParserProblem(Position position) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendSource(boolean addSpaceBefore,
String value) |
void |
appendSource(boolean addSpaceBefore,
String value,
String... additionalStrs) |
int |
getLevel() |
String |
getUnusedSource() |
void |
setLevel(int level) |
void |
setUnusedSource(String unusedSource) |
String |
toString() |
getPositionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic DdlParserProblem(Position position)
position - public DdlParserProblem(int level,
Position position,
String message,
Throwable cause)
level - position - message - cause - public String getUnusedSource()
public void setUnusedSource(String unusedSource)
unusedSource - public void appendSource(boolean addSpaceBefore,
String value)
public void appendSource(boolean addSpaceBefore,
String value,
String... additionalStrs)
public int getLevel()
public void setLevel(int level)
level - Sets level to the specified value.public String toString()
toString in class ThrowableThrowable.toString()Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.