|
DJAVA | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectau.gov.aao.drama.DramaErs
public class DramaErs
The DramaErs class is used to access the DRAMA ERS library.
NOTE 1: If you use these methods from code which is not part of a DRAMA action handler or UFACE handler, then you should enclose a sequence of calls by DramaSem.Take()/DramaSem.Release() and finish with a Flush()/Output()/Annul() call. Otherwise, there may be interference from the DRAMA thread. NOTE 2: You will not want to use this methods from within an exception handler, as these functions may throw exceptions themselves. In this case, consider using the Report and Flush functions from DramaException, which don't throw exceptions but otherwise do the same job.
DramaStatus,
DramaSem,
DramaException| Field Summary | |
|---|---|
static String |
RCSID
The RCS (ACMM) ID. |
| Method Summary | |
|---|---|
static void |
Annul()
Annul messages at the current DRAMA Error reporting context. |
static void |
Flush()
Flush messages at the current DRAMA Error reporting context. |
static void |
Output(String message)
Report a message use the DRAMA Ers facility and flush all messages reported at the current context. |
static void |
Output(String message,
DramaStatus status)
Report a message use the DRAMA Ers facility and flush all messages reported at the current context. |
static void |
Pop()
Pop the DRAMA Error reporting context. |
static void |
Push()
Push the DRAMA Error reporting context. |
static void |
Report(String message)
Report a message use the DRAMA Ers facility. |
static void |
Report(String message,
DramaStatus status)
Report a message use the DRAMA Ers facility |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String RCSID
| Method Detail |
|---|
public static void Report(String message)
throws DramaException
message - The message to report.
DramaException - thrown on errors in the DRAMA code.
public static void Report(String message,
DramaStatus status)
throws DramaException
message - The message to report.status - The DRAMA status code to be assoicated with this report
DramaException - thrown on errors in the DRAMA code.
public static void Output(String message)
throws DramaException
message - The message to report.
DramaException - thrown on errors in the DRAMA code.
public static void Output(String message,
DramaStatus status)
throws DramaException
message - The message to report.status - The DRAMA status code to be assoicated with this report
DramaException - thrown on errors in the DRAMA code.public static void Push()
public static void Pop()
public static void Annul()
throws DramaException
DramaException - thrown on errors in the DRAMA code.
public static void Flush()
throws DramaException
DramaException - thrown on errors in the DRAMA code.
|
DJAVA | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tjf@aaoepp.aao.gov.au.