Class AccessError


  • public class AccessError
    extends Object
    Since:
    4.0.9
    Version:
    $Revision: 5769 $ $Date: 2007-02-01 12:00:07 -0200 (Thu, 01 Feb 2007) $
    • Field Detail

      • CAUSE_NO_ERROR

        public static int CAUSE_NO_ERROR
      • CAUSE_NO_PAGE_TO_REDIRECT

        public static int CAUSE_NO_PAGE_TO_REDIRECT
      • CAUSE_PAGE_ACCESS_DENIED

        public static int CAUSE_PAGE_ACCESS_DENIED
    • Constructor Detail

      • AccessError

        public AccessError()
    • Method Detail

      • setCause

        public void setCause​(int cause)
        Sets the cause of the error.
        Parameters:
        cause -
        Since:
        4.0.9
      • getCause

        public int getCause()
        Gets the cause of the access error.
        Returns:
        Since:
        4.0.9
      • serialize

        public String serialize()
        Returns a string containing all the elements involved on the error. The string is composed of the cause + ";" + assosicatedID + ";" isGuest
        Returns:
        Since:
        4.0.9
      • deserialize

        public void deserialize​(String id)
        Deserializes the error cause.
        Parameters:
        id -
        Since:
        4.0.9
      • getErrorString

        public String getErrorString()
        Gets the String Id for the current access error cause.
        Returns:
        Since:
        4.0.9