|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ode.bpel.compiler.api.CompilationMessage
public class CompilationMessage
Data structure representing messages emitted from the compiler. These typically relate to the status of the compilation (e.g. compile errors and the like).
| Field Summary | |
|---|---|
java.lang.String |
code
The message/error code for this message. |
static short |
ERROR
Error message. |
static short |
INFO
Informational message. |
java.lang.String |
messageText
Internationalized message text. |
short |
phase
Compilation phase. |
short |
severity
The severity severity. |
SourceLocation |
source
The location in the source that caused this error/message/warning |
static short |
WARN
Warning message. |
| Constructor Summary | |
|---|---|
CompilationMessage()
|
|
| Method Summary | |
|---|---|
CompilationMessage |
setSource(SourceLocation source)
|
java.lang.String |
toErrorString()
Convert to a human-readable error string. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final short INFO
public static final short WARN
public static final short ERROR
public short phase
public short severity
public java.lang.String code
public java.lang.String messageText
public SourceLocation source
| Constructor Detail |
|---|
public CompilationMessage()
| Method Detail |
|---|
public CompilationMessage setSource(SourceLocation source)
public java.lang.String toErrorString()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||