Class IlmException

    • Field Detail

      • subClass

        @NotBlank
        public @NotBlank String subClass
        This is used by Jackson for deserialising subclasses.
      • serverLogId

        public UUID serverLogId
        The ID of the corresponding message in the server log. The most significant bits is the timestamp in millis of the corresponding log entry, the least significant bits are a random long.
        This will be null for exceptions that are normal return values. In all exceptional cases this will be a valid and non-null UUID.
      • suppressStack

        @NotNull
        public @NotNull Boolean suppressStack
        Whether to suppress the stack trace when serialising this exception.
        See Also:
        Throwable.getStackTrace()
    • Constructor Detail

      • IlmException

        public IlmException()
        The constructor required for bean deserialisation.
      • IlmException

        protected IlmException​(String message)
      • IlmException

        protected IlmException​(Throwable replaced)
    • Method Detail

      • getLogId

        public UUID getLogId()
        Specified by:
        getLogId in interface de.aristaflow.adept2.model.communication.webservice.StackSuppressingException
      • setLogId

        public void setLogId​(UUID serverLogId)
        Specified by:
        setLogId in interface de.aristaflow.adept2.model.communication.webservice.StackSuppressingException
      • setSuppressStack

        public void setSuppressStack​(boolean suppressStack)
        Specified by:
        setSuppressStack in interface de.aristaflow.adept2.model.communication.webservice.StackSuppressingException
      • getMessage

        public String getMessage()
        Overridden to get the actual message. Otherwise the method (of the superclass) will be preferred over the public field when serialising thus leading to the wrong message.
        Overrides:
        getMessage in class Throwable