public class SemanticException extends BallerinaException
Constructor and Description |
---|
SemanticException(String message)
Constructs a new
SemanticException with the specified detail message. |
SemanticException(String message,
Throwable cause)
Constructs a new
SemanticException with the specified detail message and cause. |
SemanticException(Throwable cause)
Constructs a new
SemanticException with the cause. |
getContext
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SemanticException(String message)
SemanticException
with the specified detail message.message
- Error Messagepublic SemanticException(String message, Throwable cause)
SemanticException
with the specified detail message and cause.message
- Error messagecause
- Causepublic SemanticException(Throwable cause)
SemanticException
with the cause.cause
- CauseCopyright © 2018 WSO2. All rights reserved.