Package stanford.netdb.exceptions
Class Malformed_JSON
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- stanford.netdb.exceptions.Malformed_JSON
-
- All Implemented Interfaces:
java.io.Serializable
public class Malformed_JSON extends java.lang.ExceptionThis exception should be thrown anytime an object is missing a required bit of information for database interaction.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Malformed_JSON()Malformed_JSON(java.lang.String message)Malformed_JSON(java.lang.String message, java.lang.Throwable cause)Malformed_JSON(java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Malformed_JSONmalformed(java.lang.String key, java.lang.String expected)Generate an exception with a standardized message.
-
-
-
Method Detail
-
malformed
public static Malformed_JSON malformed(java.lang.String key, java.lang.String expected)
Generate an exception with a standardized message.
-
-