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() |
getPosition
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public DdlParserProblem(Position position)
public DdlParserProblem(int level, Position position, String message, Throwable cause)
public String getUnusedSource()
public void setUnusedSource(String 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.Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.