org.ow2.opensuit.core.error
Class NonLocalizedError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ow2.opensuit.core.error.IError
              extended by org.ow2.opensuit.core.error.NonLocalizedError
All Implemented Interfaces:
java.io.Serializable

public class NonLocalizedError
extends IError

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ow2.opensuit.core.error.IError
FUNCTIONAL_ERROR, TECHNICAL_ERROR
 
Constructor Summary
NonLocalizedError(java.lang.String iTitle, java.lang.String iMessage)
           
NonLocalizedError(java.lang.String iTitle, java.lang.String iMessage, java.lang.Throwable iRootCause)
           
 
Method Summary
 java.lang.String getMessage(javax.servlet.http.HttpServletRequest iRequest)
           
 java.lang.String getNextUrl()
           
 java.lang.String getTitle(javax.servlet.http.HttpServletRequest iRequest)
           
 void setNextUrl(java.lang.String nextUrl)
          Sets the next url to navigate after having displayed the error to the user By default, reties the last non-submit request.
 
Methods inherited from class org.ow2.opensuit.core.error.IError
getType, setType
 
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
 

Constructor Detail

NonLocalizedError

public NonLocalizedError(java.lang.String iTitle,
                         java.lang.String iMessage,
                         java.lang.Throwable iRootCause)

NonLocalizedError

public NonLocalizedError(java.lang.String iTitle,
                         java.lang.String iMessage)
Method Detail

getTitle

public java.lang.String getTitle(javax.servlet.http.HttpServletRequest iRequest)
Specified by:
getTitle in class IError

getMessage

public java.lang.String getMessage(javax.servlet.http.HttpServletRequest iRequest)
Specified by:
getMessage in class IError

getNextUrl

public java.lang.String getNextUrl()
Specified by:
getNextUrl in class IError

setNextUrl

public void setNextUrl(java.lang.String nextUrl)
Sets the next url to navigate after having displayed the error to the user By default, reties the last non-submit request.

Parameters:
nextUrl -


Copyright © 2008-2012 OW2 Consortium. All Rights Reserved.