Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2013
    Location
    Bangalore
    Posts
    5

    Default Defining custom error messages for exceptions

    Is there a way to define custom error messages for the exceptions that occur in OX?

    For ex, if the attachment size is greater than what's configured, the error in the popup (in the top-right region) is something like: "A severe error occurred. (UPL-0001, 1603448077-23616)".

    Relevant logs said something like:

    Caused by: org.apache.commons.fileupload.FileUploadBase$IOFil eUploadException: Processing of multipart/form-data request failed. Max. byte count of 104857600 exceeded.
    at org.apache.commons.fileupload.FileUploadBase.parse Request(FileUploadBase.java:367)
    at org.apache.commons.fileupload.servlet.ServletFileU pload.parseRequest(ServletFileUpload.java:126)
    at com.openexchange.ajax.AJAXServlet.processUploadSta tic(AJAXServlet.java:883)
    ... 18 more

    Is there a way I can make these error messages more human friendly and less frightening to the end user? And it's not just about this error, I would like to configure custom error messages for other kind of exceptions too.

  2. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    what version of OX do you use? This should already provide a meaningful error message. There is no way of changing Exception messages other by modifying the source code.

    Greetings
    Martin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •