|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.wrq.apptrieve.agent.ApptrieveException
public class ApptrieveException
The ApptrieveException class provides information on errors that occur during the use of a Host Integrator Server.
Constructor Summary | |
---|---|
ApptrieveException(ErrorMessage errorMesg)
Create using an ErrorMessage object. |
|
ApptrieveException(java.util.List errorList)
Create using a list of ErrorMessage objects. |
|
ApptrieveException(java.util.List mesgs,
java.util.List localizedMesgs)
Create using a list of error descriptions. |
|
ApptrieveException(java.lang.String mesg)
Create using a simple string message. |
|
ApptrieveException(java.lang.String mesg,
java.lang.String localizedMesg)
Create using an error description string. |
Method Summary | |
---|---|
void |
appendMessage(ErrorMessage mesg)
Append an error message to the list of errors in the exception. |
void |
appendMessage(java.lang.String mesg)
Append an error message string to the list of error descriptions in this exception. |
void |
appendMessage(java.lang.String mesg,
java.lang.String localizedMesg)
Append an error message string to the list of error descriptions in this exception. |
ErrorMessage |
getErrorMessage()
Gets the first error message in the exception. |
java.util.List |
getErrorMessageList()
Gets all error messages in the exception. |
TerminalScreen |
getErrorScreen()
|
java.lang.String |
getLocalizedMessage()
Gets the text of the first error in the exception in the default locale. |
java.util.List |
getLocalizedMessageList()
Gets the text of all error messages in the exception in the default locale. |
java.lang.String |
getMessage()
Gets the text of the first error in the exception. |
java.util.List |
getMessageList()
Gets the text of all error messages in the exception. |
void |
setErrorScreen(TerminalScreen ts)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApptrieveException(ErrorMessage errorMesg)
errorMesg
- error messagepublic ApptrieveException(java.util.List errorList)
errorList
- a list of ErrorMessage objectspublic ApptrieveException(java.lang.String mesg)
mesg
- error textpublic ApptrieveException(java.lang.String mesg, java.lang.String localizedMesg)
mesg
- generic message stringlocalizedMesg
- localized message stringpublic ApptrieveException(java.util.List mesgs, java.util.List localizedMesgs)
mesgs
- list of generic message stringslocalizedMesgs
- list of localized message stringsMethod Detail |
---|
public void appendMessage(ErrorMessage mesg)
mesg
- error messagepublic void appendMessage(java.lang.String mesg)
mesg
- generic message stringpublic void appendMessage(java.lang.String mesg, java.lang.String localizedMesg)
mesg
- generic message stringlocalizedMesg
- localized message stringpublic java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.util.List getMessageList()
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public java.util.List getLocalizedMessageList()
public ErrorMessage getErrorMessage()
public java.util.List getErrorMessageList()
public void setErrorScreen(TerminalScreen ts)
public TerminalScreen getErrorScreen()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |