Class SemanticException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aquima.interactions.foundation.exception.AppException
-
- com.aquima.interactions.expressions.semantics.SemanticException
-
- All Implemented Interfaces:
Serializable
public class SemanticException extends AppException
Exception used to indicate an error during the semantic phase.- Since:
- 6.4
- Author:
- O. Kerpershoek
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SemanticException(ErrorMessage message)
Constructs the exception with a message object containing detailed information about the error.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorMessage
getErrorMessage()
This method returns a message object containing detailed information about the error.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SemanticException
public SemanticException(ErrorMessage message)
Constructs the exception with a message object containing detailed information about the error.- Parameters:
message
- message object containing detailed information about the error.
-
-
Method Detail
-
getErrorMessage
public ErrorMessage getErrorMessage()
This method returns a message object containing detailed information about the error.- Returns:
- message object containing detailed information about the error.
-
-