Class DataException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DataException
    extends java.lang.IllegalArgumentException
    Unchecked exception thrown when a data structure for use with SAMP does not have the correct form.
    Since:
    15 Jul 2008
    Author:
    Mark Taylor
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DataException()
      Constructs an exception with no message.
      DataException​(java.lang.String msg)
      Consructs an exception with a given message.
      DataException​(java.lang.String msg, java.lang.Throwable e)
      Constructs an exception with a given message and cause.
      DataException​(java.lang.Throwable e)
      Constructs an exception with a given cause.
    • Method Summary

      • 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

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

      • DataException

        public DataException()
        Constructs an exception with no message.
      • DataException

        public DataException​(java.lang.String msg)
        Consructs an exception with a given message.
        Parameters:
        msg - message
      • DataException

        public DataException​(java.lang.Throwable e)
        Constructs an exception with a given cause.
        Parameters:
        e - cause of this exception
      • DataException

        public DataException​(java.lang.String msg,
                             java.lang.Throwable e)
        Constructs an exception with a given message and cause.
        Parameters:
        msg - message
        e - cause of this exception