public class NCRejection extends RuntimeException
NCModel.query(NCQueryContext)
method.
This exception typically indicates that user has not provided enough information in the input string to have it processed automatically. In most cases this means that the user's input is either too short or too simple, too long or too complex, missing required context, or unrelated to requested data model.
NCModel.query(NCQueryContext)
,
Serialized FormConstructor and Description |
---|
NCRejection(String msg)
Creates new rejection exception with given message.
|
NCRejection(String msg,
Throwable cause)
Creates new rejection exception with given message and cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NCRejection(String msg)
msg
- Rejection message.Copyright © 2020 NLPCraft. All rights reserved.