|
![]() Quark Platform Documentation Version 1.7.0_0 Business Objects |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openquark.cal.runtime.ErrorInfo
public final class ErrorInfo
Class used to provide the information needed to show source position information in error messages. It is used for the Prelude.error function, but also for pattern matching failures, and even internal CAL implementation errors where an "origin" in terms of CAL source can be given. ErrorInfo contains information that indicates where in the source code that call that generated the error exists.
| Constructor Summary | |
|---|---|
ErrorInfo(QualifiedName topLevelFunctionName,
int line,
int column)
|
|
ErrorInfo(String moduleName,
String topLevelFunctionName,
int line,
int column)
|
|
| Method Summary | |
|---|---|
int |
getColumn()
|
int |
getLine()
|
QualifiedName |
getTopLevelFunctionName()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorInfo(QualifiedName topLevelFunctionName,
int line,
int column)
public ErrorInfo(String moduleName,
String topLevelFunctionName,
int line,
int column)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic QualifiedName getTopLevelFunctionName()
public int getLine()
public int getColumn()
|
![]() Quark Platform Documentation Version 1.7.0_0 Business Objects |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||