org.modeshape.sequencer.ddl
Class DdlParserProblem
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.modeshape.common.text.ParsingException
org.modeshape.sequencer.ddl.DdlParserProblem
- All Implemented Interfaces:
- Serializable, DdlConstants.Problems
public class DdlParserProblem
- extends ParsingException
- implements DdlConstants.Problems
A special form of DdlConstants.Problems
that is also a ParsingException
.
- See Also:
- Serialized Form
DdlParserProblem
public DdlParserProblem(Position position)
- Parameters:
position
-
DdlParserProblem
public DdlParserProblem(int level,
Position position,
String message,
Throwable cause)
- Parameters:
level
- position
- message
- cause
-
DdlParserProblem
public DdlParserProblem(int level,
Position position,
String message)
- Parameters:
level
- position
- message
-
getUnusedSource
public String getUnusedSource()
- Returns:
- the unused statement string
setUnusedSource
public void setUnusedSource(String unusedSource)
- Parameters:
unusedSource
-
appendSource
public void appendSource(boolean addSpaceBefore,
String value)
appendSource
public void appendSource(boolean addSpaceBefore,
String value,
String... additionalStrs)
getLevel
public int getLevel()
- Returns:
- level
setLevel
public void setLevel(int level)
- Parameters:
level
- Sets level to the specified value.
toString
public String toString()
-
- Overrides:
toString
in class Throwable
- See Also:
Throwable.toString()
Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.