Class AccessError


  • public class AccessError
    extends java.lang.Object
    Since:
    4.0.9
    Version:
    $Revision: 5769 $ $Date: 2007-02-01 12:00:07 -0200 (Thu, 01 Feb 2007) $
    • Constructor Summary

      Constructors 
      Constructor Description
      AccessError()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deserialize​(java.lang.String id)
      Deserializes the error cause.
      int getCause()
      Gets the cause of the access error.
      java.lang.String getErrorString()
      Gets the String Id for the current access error cause.
      java.lang.String serialize()
      Returns a string containing all the elements involved on the error.
      void setCause​(int cause)
      Sets the cause of the error.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 java.lang.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​(java.lang.String id)
        Deserializes the error cause.
        Parameters:
        id -
        Since:
        4.0.9
      • getErrorString

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