Package ai.expert.nlapi.exceptions
Class NLApiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ai.expert.nlapi.exceptions.NLApiException
-
- All Implemented Interfaces:
java.io.Serializable
public class NLApiException extends java.lang.Exception- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NLApiException(NLApiErrorCode errorCode)NLApiException(NLApiErrorCode errorCode, java.lang.String message)NLApiException(NLApiErrorCode errorCode, java.lang.String message, java.lang.Throwable cause)NLApiException(NLApiErrorCode errorCode, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NLApiErrorCodegetErrorCode()java.lang.StringgetExceptionIdentifier()java.lang.StringgetMessage()
-
-
-
Constructor Detail
-
NLApiException
public NLApiException(NLApiErrorCode errorCode)
-
NLApiException
public NLApiException(NLApiErrorCode errorCode, java.lang.String message, java.lang.Throwable cause)
-
NLApiException
public NLApiException(NLApiErrorCode errorCode, java.lang.String message)
-
NLApiException
public NLApiException(NLApiErrorCode errorCode, java.lang.Throwable cause)
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessagein classjava.lang.Throwable
-
getExceptionIdentifier
public java.lang.String getExceptionIdentifier()
-
getErrorCode
public NLApiErrorCode getErrorCode()
-
-