Class PlatformException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String UNEXPECTED_ERROR
      Unexpected error message
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Message getFullMessage()
      Get full message
      java.lang.String getMessage()
      Get message
      java.lang.String getMessage​(Grant g)
      Get translated message for specified grant
      java.lang.String[] getMessages()
      Get all messages
      java.lang.String[] getMessages​(Grant g)
      Get translated messages for specified grant
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • UNEXPECTED_ERROR

        public static final java.lang.String UNEXPECTED_ERROR
        Unexpected error message
        See Also:
        Constant Field Values
    • Constructor Detail

      • PlatformException

        public PlatformException()
        Default constructor
      • PlatformException

        public PlatformException​(java.lang.Throwable e)
        Constructor
        Parameters:
        e - Throwable
      • PlatformException

        public PlatformException​(java.lang.String message)
        Constructor
        Parameters:
        message - String message
      • PlatformException

        public PlatformException​(Message message)
        Constructor
        Parameters:
        message - Message object
      • PlatformException

        public PlatformException​(java.lang.String[] messages)
        Constructor
        Parameters:
        messages - String messages array
      • PlatformException

        public PlatformException​(java.util.List<java.lang.String> messages)
        Constructor
        Parameters:
        messages - String messages list
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Get message
        Overrides:
        getMessage in class java.lang.Throwable
        Returns:
        Message
      • getMessages

        public java.lang.String[] getMessages()
        Get all messages
        Returns:
        Messages
      • getFullMessage

        public Message getFullMessage()
        Get full message
        Returns:
        Full message
      • getMessages

        public java.lang.String[] getMessages​(Grant g)
        Get translated messages for specified grant
        Parameters:
        g - Grant
        Returns:
        Translated messages
      • getMessage

        public java.lang.String getMessage​(Grant g)
        Get translated message for specified grant
        Parameters:
        g - Grant
        Returns:
        Translated message