Class ServiceException

    • Constructor Detail

      • ServiceException

        public ServiceException​(String message)
        Constructs a new ServiceException with the specified message.
        Parameters:
        message - The message saved for later retrieval by the getMessage() method.
      • ServiceException

        public ServiceException​(String message,
                                Throwable cause)
        Constructs a new ServiceException with the specified message and cause.
        Parameters:
        message - The message saved for later retrieval by the getMessage() method.
        cause - The cause saved for later retrieval by the getCause() method. (A null value is permitted if the cause is nonexistent or unknown)
    • Method Detail

      • getFaultInfo

        public ServiceError getFaultInfo()
        Returns the fault info.
        Returns:
        the fault info
      • getTimestamp

        public LocalDateTime getTimestamp()
        Returns the date and time the service exception occurred.
        Returns:
        the date and time the service exception occurred