A C D E F G I L M N O R S T U W

A

addComponent(String) - Method in interface ak.err.IF_AppError
user may use this function to indicate in which class, which method is the error occured(nested errors)
addComponent(String) - Method in class ak.err.AppError
user may use this function to indicate in which class, which method is the error occured(nested errors)
addComponent(String) - Method in class ak.err.AppErrorItem
Adds a component to the component-string (usefull for the nested exceptions) component is usually: "class.Name"
addInfo(String) - Method in interface ak.err.IF_AppError
user may use this function to keep tech-information separately. specialy for communication. (e.g.
addInfo(String) - Method in class ak.err.AppError
user may use this function to keep tech-information separately. specialy for communication. (e.g.
addInfo(String) - Method in class ak.err.AppErrorItem
Adds a String to the info-string (usefull for the nested exceptions)
addParam(String) - Method in interface ak.err.IF_AppError
user may use this function to add the information about the parameters which causes this error(e.g.
addParam(String) - Method in class ak.err.AppError
user may use this function to add the information about the parameters which causes this error(e.g.
addParam(String) - Method in class ak.err.AppErrorItem
Adds the a String to the message (usefull for the nested exceptions)
ak.err - package ak.err
 
AppError - exception ak.err.AppError.
Class AppErr represent any application error.
AppError() - Constructor for class ak.err.AppError
Default constructor
AppError(AppErrorItem) - Constructor for class ak.err.AppError
Constructor with AppErrItem
AppError(String) - Constructor for class ak.err.AppError
Constructor with init-file
AppErrorItem - class ak.err.AppErrorItem.
Class AppErrorItem contains the description of an error.
AppErrorItem() - Constructor for class ak.err.AppErrorItem
default constructor
AppErrorItem(String) - Constructor for class ak.err.AppErrorItem
constructs object AppErrorItem from String see more in StringToObj
AppErrorItem(String, String, String, String, String, String, String, String, String) - Constructor for class ak.err.AppErrorItem
constructs AppErrorItem with given attributs
application - Variable in class ak.err.AppErrorItem
 

C

category - Variable in class ak.err.AppErrorItem
 
CheckFile(String, String) - Static method in class ak.err.LogToFile
CheckFile: Checks the max-size of log-file
CheckFile(String, String) - Method in class ak.err.AppError
CheckFile: Checks the max-size of log-file
comp - Variable in class ak.err.ErrBox
 
component - Variable in class ak.err.AppErrorItem
 
ConnErr - exception ak.err.ConnErr.
Class ConnErr represent any connection error (e.g.
ConnErr(String) - Constructor for class ak.err.ConnErr
 
ConstraintErr - exception ak.err.ConstraintErr.
Class ConstraintErr represent a constraint violation error(e.g. mandatory field is not set) This class extends DataError and pre-sets the AppErrorItem with relevant parameters.
ConstraintErr(String) - Constructor for class ak.err.ConstraintErr
 
ConvertSysPath(String) - Static method in class ak.err.Tools
Converts a path to the current system path (e.g. it replaces the directory sign if needed)
cutParam(String, String) - Method in class ak.err.AppErrorItem
this is a private method used by StringToObj-conversion

D

DataErr - exception ak.err.DataErr.
Class DataErr represent any data error.
DataErr(String) - Constructor for class ak.err.DataErr
 
DBErr - exception ak.err.DBErr.
Class DBErr represent a Database error. (e.g.
DBErr(String) - Constructor for class ak.err.DBErr
 
doAction - Variable in class ak.err.AppErrorItem
 
DuplicateDataErr - exception ak.err.DuplicateDataErr.
Class DuplicateDataErr represent a duplicate found error (e.g. duplicate entry is not allowed) This class extends DataError and pre-sets the AppErrorItem with relevant parameters.
DuplicateDataErr(String) - Constructor for class ak.err.DuplicateDataErr
 

E

ErrBox - class ak.err.ErrBox.
Class ErrBox is implementaion of an application message-box. (e.g.
ErrBox() - Constructor for class ak.err.ErrBox
Default constructor:
errItem - Variable in class ak.err.AppError
 

F

FP_AppendToFile(String, String) - Static method in class ak.err.Tools
Appends a string to file
FP_CopyFile(String, String) - Static method in class ak.err.Tools
A simple method to copy files.
FP_FileToString(String) - Static method in class ak.err.Tools
Reads a File into a string
FP_FileToString(String, boolean) - Static method in class ak.err.Tools
Reads a File into a string the bSkip indicates whenever the lines starting with "#" should be skipped
FP_FileToVector(String) - Static method in class ak.err.Tools
Reads File into a vector (File Lines) Note: It jumps over lines started with "#"
FP_FileToVector(String, boolean) - Static method in class ak.err.Tools
Reads File into a vector (File Lines) the bSkip indicates whenever the lines starting with "#" should be skipped
FP_GetByPattern(String, String, boolean) - Static method in class ak.err.Tools
Parse parameter File- Method //using sPattern gets the string left/right form the pattern in line in a File example(Pattern: "=") A=6;B=7 -> or <6,7>
FP_GetParamBool(String, String, String) - Static method in class ak.err.Tools
Get a Parameter values in a Section Example: MY_PAR=OFF/ON; -> false/true
FP_GetParamByName(String, String) - Static method in class ak.err.Tools
Parse parameter File- Method //using sPattern gets the string left/right form the pattern in line in a File example(Pattern: "=") A=6;B=7 -> or <6,7>
FP_GetParams(String) - Static method in class ak.err.Tools
Gets Parameter-List of a parameter-file example: a=5;b=3;c=9; ->
FP_GetParams(String, boolean) - Static method in class ak.err.Tools
GetParameters right/left(Name/Value) of "=" example: a=5;b=3;c=9; -> or <5,3,9>
FP_GetParamsInSection(String, String) - Static method in class ak.err.Tools
returns a Parameter-List of a section in a parameter-file
FP_GetParamsInSection(String, String, boolean) - Static method in class ak.err.Tools
GetParameters in Section right/left(Name/Value) of "=" example: [MyA]A=1;B=2; -> or <1,2>
FP_GetParamString(String, String, String) - Static method in class ak.err.Tools
Get a Parameter values in a Section Example: MY_PAR=a; -> "a"
FP_GetParamString(String, String, String, boolean) - Static method in class ak.err.Tools
Get a Parameter values in a Section Example: MY_PAR=a;b; -> "a;b;" or "a"
FP_GetParamVector(String, String, String) - Static method in class ak.err.Tools
Get a Parameter values in a Section Example: MY_PAR=a;b;c; ->
FP_GetSections(String) - Static method in class ak.err.Tools
Gets Section-List of a parameter-file(*.ini) example: [a]i=5;[b]i=3;[c]i=9; ->
FP_ParseParam(String, String, String, boolean) - Static method in class ak.err.Tools
Parse parameter - Method
FP_ParseVector(Vector, String) - Static method in class ak.err.Tools
Parse parameter Vector - Method
FP_ParseVector(Vector, String, boolean) - Static method in class ak.err.Tools
Parse parameter Vector - Method
FP_StringToVector(String, String) - Static method in class ak.err.Tools
Parse parameter Vector - Method Example: "a;b;c;" -> [a][b][c]
FP_StringToVector(String, String, String, boolean) - Static method in class ak.err.Tools
Parse parameter Vector - Method

G

getApp() - Method in class ak.err.AppErrorItem
Access(get) to the member: application
getCategory() - Method in class ak.err.AppErrorItem
Access(get) to the member: category
getComponent() - Method in class ak.err.AppErrorItem
Access(get) to the member: component
getErrItem() - Method in interface ak.err.IF_AppError
gets the error description object(ErrItem)
getErrItem() - Method in class ak.err.AppError
gets the error description object(ErrItem)
getInfo() - Method in class ak.err.AppErrorItem
Access(get) to the member: info
getMessage() - Method in interface ak.err.IF_AppError
gets the error message string
getMessage() - Method in class ak.err.AppError
gets the error message string
getMsg() - Method in class ak.err.AppErrorItem
Access(get) to the member: message
getMsgShort() - Method in class ak.err.AppErrorItem
Access(get) to the member: messageShort
getParam(String, String) - Method in class ak.err.AppErrorItem
this is a private method used by StringToObj-conversion
GetParentDIR(String) - Static method in class ak.err.Tools
gets the parent directory for a given path
GetPath() - Method in interface ak.err.IF_AppError
GetPath of the init-file (default)
GetPath() - Method in class ak.err.AppError
GetPath of the init-file (default)
GetPath(boolean) - Method in class ak.err.AppError
GetPath of the init-file If bError=true,path of the default log-file
GetPath(String) - Method in interface ak.err.IF_AppError
GetPath of the init-file (for a given name)
GetPath(String) - Method in class ak.err.AppError
GetPath of the init-file (for a given name)
GetPath(String, boolean) - Method in class ak.err.AppError
GetPath of the init-file If bError=true,path of the default log-file
getRecomendation() - Method in class ak.err.AppErrorItem
Access(get) to the member: doAction
getSeverity() - Method in class ak.err.AppErrorItem
Access(get) to the member: severity
GetSystDIR() - Static method in class ak.err.Tools
gets the "\" or "/" as directory sign
GetSystNL() - Static method in class ak.err.Tools
gets the system dependent NewLine sign
getTime() - Method in class ak.err.AppErrorItem
Access(get) to the member: time

I

IF_AppError - interface ak.err.IF_AppError.
Class AppErr represent any application error.
IF_LogMedia - interface ak.err.IF_LogMedia.
This is the interface for all log-media
info - Variable in class ak.err.AppErrorItem
 
Init(String) - Method in class ak.err.AppError
Init
InitDefault() - Method in class ak.err.AppError
InitDefault
InvalidDataErr - exception ak.err.InvalidDataErr.
Class InvalidDataErr represent a "wrong data passed" error (e.g. wrong data format) This class extends DataError and pre-sets the AppErrorItem with relevant parameters.
InvalidDataErr(String) - Constructor for class ak.err.InvalidDataErr
 

L

loadMedia(String) - Method in class ak.err.AppError
loads the external log-media dynamicaly (The classpath to the media should be available)
log() - Method in interface ak.err.IF_AppError
logs the error description information
log() - Method in class ak.err.AppError
logs the error description information
log(String) - Method in interface ak.err.IF_AppError
logs the message
log(String) - Method in class ak.err.AppError
logs the message
log(String, String, String) - Method in class ak.err.LogToFile
creates the log The Parameters(sParam and sPath) are taken from the config-file
log(String, String, String) - Method in class ak.err.LogToStdOut
creates the log The Parameters(sParam and sPath) are taken from the config-file
log(String, String, String) - Method in interface ak.err.IF_LogMedia
creates the log The Parameters(sParam and sPath) are taken from the error ini-file
LogToFile - class ak.err.LogToFile.
This is implementor of interface IF_LogMedia logs to a log-file
LogToFile() - Constructor for class ak.err.LogToFile
Default constructor:
LogToStdOut - class ak.err.LogToStdOut.
This is implementor of interface IF_LogMedia logs to StdOut
LogToStdOut() - Constructor for class ak.err.LogToStdOut
Default constructor:

M

m_bDisplay - Variable in class ak.err.AppError
 
m_bFullInfo - Variable in class ak.err.AppError
 
m_bMsgFile - Variable in class ak.err.AppError
 
m_bSuccess - Variable in class ak.err.AppError
 
m_bTrace - Variable in class ak.err.AppError
 
m_sName - Variable in class ak.err.AppError
 
m_vMedia - Variable in class ak.err.AppError
 
main(String[]) - Static method in class ak.err.TestMain
Main method (a simple test programm)
MakeLog() - Method in class ak.err.AppError
gets the error message string
message - Variable in class ak.err.AppErrorItem
 
messageShort - Variable in class ak.err.AppErrorItem
 

N

NoDataErr - exception ak.err.NoDataErr.
Class NoDataErr represent a "Data not found" error (e.g.
NoDataErr(String) - Constructor for class ak.err.NoDataErr
 

O

ObjectToString() - Method in interface ak.err.IF_AppError
In Order to pass this error over CORBA/RMI We need to define two conversion methods: StringToObject(String sObj);ObjectToString();
ObjectToString() - Method in class ak.err.AppError
In Order to pass this error over CORBA/RMI We need to define two conversion methods: StringToObject(String sObj);ObjectToString();
ObjToString() - Method in class ak.err.AppErrorItem
Converts AppErrorItem to a String (e.g. usefull for CORBA/RMI communication)

R

Read(String) - Method in class ak.err.AppError
Read from Init-file
resolveMSG(String) - Method in class ak.err.AppError
Resolve Message (from Message-file)

S

SetEnv(String, String, String) - Method in interface ak.err.IF_AppError
Delegate methods to access error Item: Sets error environment: - Application Name (-> config file) - Error severity(e.g.
SetEnv(String, String, String) - Method in class ak.err.AppError
Delegate methods to access error Item: Sets error environment: - Application Name (-> config file) - Error severity(e.g.
SetEnv(String, String, String) - Method in class ak.err.AppErrorItem
Sets error environment: - Application Name (-> config file) - Error severity(e.g.
SetMsg(String, String, String) - Method in interface ak.err.IF_AppError
Delegate methods to access error Item: Sets error message: - Full message(e.g. for log-file) - Short message(e.g. for user) - Recomended action
SetMsg(String, String, String) - Method in class ak.err.AppError
Delegate methods to access error Item: Sets error message: - Full message(e.g. for log-file) - Short message(e.g. for user) - Recomended action
SetMsg(String, String, String) - Method in class ak.err.AppErrorItem
Sets error message: - Full message(e.g. for log-file) - Short message(e.g. for user) - Recomended action
severity - Variable in class ak.err.AppErrorItem
 
show() - Method in interface ak.err.IF_AppError
shows the information in an message-box (only if DISPLAY_FLG is ON; see config-file)
show() - Method in class ak.err.AppError
shows the information in an message-box (only if DISPLAY_FLG is ON; see config-file)
show(String) - Method in interface ak.err.IF_AppError
shows the message in an message-box (only if DISPLAY_FLG is ON; see config-file)
show(String) - Method in class ak.err.AppError
shows the message in an message-box (only if DISPLAY_FLG is ON; see config-file)
show(String) - Method in class ak.err.ErrBox
This method displays a simple dialog-box(no icon, one button):
show(String, int, int) - Method in class ak.err.ErrBox
This method displays the dialog-box: int nButton(number of buttons= 1 or 2) int nIcon(the Icon-style) see below: ----------------------------------------------- Message types. (
showAsk() - Method in interface ak.err.IF_AppError
shows the information in an ask-box (only if DISPLAY_FLG is ON; see config-file)
showAsk() - Method in class ak.err.AppError
shows the information in an ask-box (only if DISPLAY_FLG is ON; see config-file)
showAsk(String) - Method in interface ak.err.IF_AppError
shows the message in an ask-box (only if DISPLAY_FLG is ON; see config-file)
showAsk(String) - Method in class ak.err.AppError
shows the message in an ask-box (only if DISPLAY_FLG is ON; see config-file)
showError() - Method in interface ak.err.IF_AppError
shows the information in an error-box (only if DISPLAY_FLG is ON; see config-file)
showError() - Method in class ak.err.AppError
shows the information in an error-box (only if DISPLAY_FLG is ON; see config-file)
showError(String) - Method in interface ak.err.IF_AppError
shows the message in an error-box (only if DISPLAY_FLG is ON; see config-file)
showError(String) - Method in class ak.err.AppError
shows the message in an error-box (only if DISPLAY_FLG is ON; see config-file)
showInfo() - Method in interface ak.err.IF_AppError
shows the information in an info-box (only if DISPLAY_FLG is ON; see config-file)
showInfo() - Method in class ak.err.AppError
shows the information in an info-box (only if DISPLAY_FLG is ON; see config-file)
showInfo(String) - Method in interface ak.err.IF_AppError
shows the message in an info-box (only if DISPLAY_FLG is ON; see config-file)
showInfo(String) - Method in class ak.err.AppError
shows the message in an info-box (only if DISPLAY_FLG is ON; see config-file)
showWarning() - Method in interface ak.err.IF_AppError
shows the information in a warning-box (only if DISPLAY_FLG is ON; see config-file)
showWarning() - Method in class ak.err.AppError
shows the information in a warning-box (only if DISPLAY_FLG is ON; see config-file)
showWarning(String) - Method in interface ak.err.IF_AppError
shows the message in a warning-box (only if DISPLAY_FLG is ON; see config-file)
showWarning(String) - Method in class ak.err.AppError
shows the message in a warning-box (only if DISPLAY_FLG is ON; see config-file)
StringToInt(String) - Static method in class ak.err.Tools
Converts a String to int.(if failure returns 0 )
StringToObj(String) - Method in class ak.err.AppErrorItem
Exstracts AppErrorItem Object from a String (e.g. usefull for CORBA/RMI communication) the String contains not an object (see ObjToString) the String will be attached to the parameter:info
StringToObject(String) - Method in interface ak.err.IF_AppError
In Order to pass this error over CORBA/RMI We need to define two conversion methods: StringToObject(String sObj);ObjectToString();
StringToObject(String) - Method in class ak.err.AppError
In Order to pass this error over CORBA/RMI We need to define two conversion methods: StringToObject(String sObj);ObjectToString();

T

TestMain - class ak.err.TestMain.
 
TestMain() - Constructor for class ak.err.TestMain
 
time - Variable in class ak.err.AppErrorItem
 
Tools - class ak.err.Tools.
The Tools implements all methods, which are required for initialization from an Init-File.
Tools() - Constructor for class ak.err.Tools
Construct Tools
toString() - Method in class ak.err.Trace
Overwrite super.toString() in order to hide overhead information.(e.g. on ex.printStackTrace()
Trace - exception ak.err.Trace.
Class Trace implements simple tracing mechanism.
trace(String) - Static method in class ak.err.Trace
traces the text to default log-file(AppErr.log)
Trace(String) - Constructor for class ak.err.Trace
 
trace(String, String) - Static method in class ak.err.Trace
trace per module: traces the text to modul log-file(sModul+".log")

U

UnexpectedErr - exception ak.err.UnexpectedErr.
Class UnexpectedErr represent an unexpected Application error (e.g.
UnexpectedErr(String) - Constructor for class ak.err.UnexpectedErr
 
UrlToPath(String) - Static method in class ak.err.Tools
Converts an URL to valid system path For the JAR-file it returns the directory of the jar-file

W

writeToFile(String, String) - Static method in class ak.err.LogToFile
Write to the Log-file:

A C D E F G I L M N O R S T U W