com.wrq.apptrieve.agent
Class UserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.wrq.apptrieve.agent.ApptrieveException
              extended by com.wrq.apptrieve.agent.ServerException
                  extended by com.wrq.apptrieve.agent.UserException
All Implemented Interfaces:
java.io.Serializable

public class UserException
extends ServerException

The UserException class provides information on errors that occur at the Host Integrator server dealing with error conditions defined by the model author.

See Also:
Serialized Form

Constructor Summary
UserException(ErrorMessage errorMesg)
          Create using an ErrorMessage object.
UserException(java.util.List errorList)
          Create using a list of ErrorMessage objects.
UserException(java.util.List mesgs, java.util.List localizedMesgs)
          Create using a list of error descriptions.
UserException(java.lang.String mesg, java.lang.String localizedMesg)
          Create using an error description string.
 
Method Summary
 
Methods inherited from class com.wrq.apptrieve.agent.ApptrieveException
appendMessage, appendMessage, appendMessage, getErrorMessage, getErrorMessageList, getErrorScreen, getLocalizedMessage, getLocalizedMessageList, getMessage, getMessageList, setErrorScreen
 
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

UserException

public UserException(java.util.List errorList)
Create using a list of ErrorMessage objects.

Parameters:
errorList - a list of ErrorMessage objects

UserException

public UserException(ErrorMessage errorMesg)
Create using an ErrorMessage object.

Parameters:
errorMesg - error message

UserException

public UserException(java.lang.String mesg,
                     java.lang.String localizedMesg)
Create using an error description string.

Parameters:
mesg - generic message string
localizedMesg - localized message string

UserException

public UserException(java.util.List mesgs,
                     java.util.List localizedMesgs)
Create using a list of error descriptions.

Parameters:
mesgs - list of generic message strings
localizedMesgs - list of localized message strings