Class Malformed_JSON

  • All Implemented Interfaces:
    java.io.Serializable

    public class Malformed_JSON
    extends java.lang.Exception
    This exception should be thrown anytime an object is missing a required bit of information for database interaction.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Malformed_JSON malformed​(java.lang.String key, java.lang.String expected)
      Generate an exception with a standardized message.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Malformed_JSON

        public Malformed_JSON()
      • Malformed_JSON

        public Malformed_JSON​(java.lang.String message)
      • Malformed_JSON

        public Malformed_JSON​(java.lang.String message,
                              java.lang.Throwable cause)
      • Malformed_JSON

        public Malformed_JSON​(java.lang.Throwable cause)
    • Method Detail

      • malformed

        public static Malformed_JSON malformed​(java.lang.String key,
                                               java.lang.String expected)
        Generate an exception with a standardized message.