com.fasterxml.jackson.databind.DeserializationContext#getParser ( )源码实例Demo

下面列出了com.fasterxml.jackson.databind.DeserializationContext#getParser ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: openapi-generator   文件: Fruit.java
/**
 * Handle deserialization of the 'null' value.
 */
@Override
public Fruit getNullValue(DeserializationContext ctxt) throws JsonMappingException {
    throw new JsonMappingException(ctxt.getParser(), "Fruit cannot be null");
}
 
源代码2 项目: openapi-generator   文件: GmFruit.java
/**
 * Handle deserialization of the 'null' value.
 */
@Override
public GmFruit getNullValue(DeserializationContext ctxt) throws JsonMappingException {
    throw new JsonMappingException(ctxt.getParser(), "GmFruit cannot be null");
}
 
源代码3 项目: openapi-generator   文件: Triangle.java
/**
 * Handle deserialization of the 'null' value.
 */
@Override
public Triangle getNullValue(DeserializationContext ctxt) throws JsonMappingException {
    throw new JsonMappingException(ctxt.getParser(), "Triangle cannot be null");
}
 
源代码4 项目: openapi-generator   文件: Pig.java
/**
 * Handle deserialization of the 'null' value.
 */
@Override
public Pig getNullValue(DeserializationContext ctxt) throws JsonMappingException {
    throw new JsonMappingException(ctxt.getParser(), "Pig cannot be null");
}
 
源代码5 项目: openapi-generator   文件: Quadrilateral.java
/**
 * Handle deserialization of the 'null' value.
 */
@Override
public Quadrilateral getNullValue(DeserializationContext ctxt) throws JsonMappingException {
    throw new JsonMappingException(ctxt.getParser(), "Quadrilateral cannot be null");
}
 
源代码6 项目: openapi-generator   文件: Shape.java
/**
 * Handle deserialization of the 'null' value.
 */
@Override
public Shape getNullValue(DeserializationContext ctxt) throws JsonMappingException {
    throw new JsonMappingException(ctxt.getParser(), "Shape cannot be null");
}
 
源代码7 项目: openapi-generator   文件: Mammal.java
/**
 * Handle deserialization of the 'null' value.
 */
@Override
public Mammal getNullValue(DeserializationContext ctxt) throws JsonMappingException {
    throw new JsonMappingException(ctxt.getParser(), "Mammal cannot be null");
}
 
源代码8 项目: lams   文件: InvalidNullException.java
protected InvalidNullException(DeserializationContext ctxt, String msg,
        PropertyName pname)
{
    super(ctxt.getParser(), msg);
    _propertyName = pname;
}