|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Error
pmp.InternalMPError
public class InternalMPError
Signals internal error in macroprocessor.
Error codes represent internal errors. Lower 16 bits contain BCD encoded number of line (in time of writing; due to later changes in source file, real line number might differ) where error occured and higher 16 bits identify class where it happend.
See enum InternalMPError.Source
for identificators of source.
For example: error code 0x020423 means that error occurred in
MacroList
class at line number 423 (decimal).
Note: This class was rendered almost useless by assert
feature
and further usage is deprecated.
Title: PMP: Macroprocessor
Description: Java macroprocessor
Copyright: Copyright (c) 2005
Nested Class Summary | |
---|---|
static class |
InternalMPError.Source
|
Field Summary | |
---|---|
static java.lang.String |
ERROR_CODE_MESSAGE
Error message used by InternalMPError(int) constructor. |
Constructor Summary | |
---|---|
InternalMPError(int code)
Creates error with specified error code. |
|
InternalMPError(InternalMPError.Source file,
int line)
|
|
InternalMPError(int file,
int line)
|
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ERROR_CODE_MESSAGE
InternalMPError(int)
constructor.
Constructor Detail |
---|
public InternalMPError(int code)
This constructor should be used when internal error occurs and there is not any meaningfull message to be presented to user.
code
- error code (see description of this class for details)public InternalMPError(InternalMPError.Source file, int line)
public InternalMPError(int file, int line)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |