public class BallerinaException extends RuntimeException
| Constructor and Description |
|---|
BallerinaException() |
BallerinaException(Context stack) |
BallerinaException(String message)
Constructs a new
BallerinaException with the specified detail message. |
BallerinaException(String message,
Context context)
Constructs a new
BallerinaException with ballerina context. |
BallerinaException(String message,
Throwable cause)
Constructs a new
BallerinaException with the specified detail message and cause. |
BallerinaException(String message,
Throwable cause,
Context context)
Constructs a new
BallerinaException with the specified detail message, cause and ballerina context. |
BallerinaException(Throwable cause)
Constructs a new
BallerinaException with the cause. |
| Modifier and Type | Method and Description |
|---|---|
Context |
getContext() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BallerinaException()
public BallerinaException(String message)
BallerinaException with the specified detail message.message - Error Messagepublic BallerinaException(String message, Context context)
BallerinaException with ballerina context.message - Error messagecontext - Ballerina contextpublic BallerinaException(String message, Throwable cause)
BallerinaException with the specified detail message and cause.message - Error messagecause - Causepublic BallerinaException(String message, Throwable cause, Context context)
BallerinaException with the specified detail message, cause and ballerina context.message - Error messagecause - Causecontext - Ballerina contextpublic BallerinaException(Throwable cause)
BallerinaException with the cause.cause - Throwable to wrap by a ballerina exceptionpublic BallerinaException(Context stack)
public Context getContext()
Copyright © 2018 WSO2. All rights reserved.