Package: UnknownPropertyException
UnknownPropertyException
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UnknownPropertyException(String) |
|
|
|
|
|
||||||||||||||||||||
create(String, Class) |
|
|
|
|
|
Coverage
1: package cz.cvut.kbss.jsonld.exception;
2:
3: /**
4: * Thrown when no JSON-LD serializable field matching a property IRI is found in a class.
5: */
6: public class UnknownPropertyException extends JsonLdDeserializationException {
7:
8: public UnknownPropertyException(String message) {
9: super(message);
10: }
11:
12: public static UnknownPropertyException create(String property, Class<?> cls) {
13: return new UnknownPropertyException(
14: "No field matching property " + property + " was found in class " + cls + " or its ancestors.");
15: }
16: }