Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
VTypes - Release 1
Class org.violetlib.types.DataException
Inherited members: ShowHide
Deprecated: ShowHide
org.violetlib.types

Class DataException

  • Object
    • Throwable
      • Exception
        • RuntimeException
          • DataException
  • All Implemented Interfaces:
    Serializable
    public class DataException extends RuntimeException
    A generic exception for data read/write failures. This exception class should not be used for anticipated failures, such as a query that returns no results.
    See Also:
    Serialized Form
    • Static Methods 
      Modifier and Type Static Method and Description
      Ordinary member indicator create Reveal DetailHide Detail
      static DataException create(String msg)
      Create a data exception with the specified message.
      public static DataException create(String msg)
      Create a data exception with the specified message.
      Parameters:
      msg - The message.
      Throws:
      IllegalArgumentException - if msg is empty.
      Ordinary member indicator create Reveal DetailHide Detail
      static DataException create(String msg, Throwable cause)
      Create a data exception with the specified message and cause.
      public static DataException create(String msg, Throwable cause)
      Create a data exception with the specified message and cause.
      Parameters:
      msg - The message.
      cause - The cause.
      Throws:
      IllegalArgumentException - if msg is empty.
      Ordinary member indicator create Reveal DetailHide Detail
      static DataException create(Throwable cause)
      Create a data exception with the specified cause.
      public static DataException create(Throwable cause)
      Create a data exception with the specified cause. A message is created using the cause.
      Parameters:
      cause - The cause.
    • Methods 
      Modifier and Type Method and Description
      Ordinary member indicator asApplicationException Reveal DetailHide Detail
      ApplicationException asApplicationException()
       
      public ApplicationException asApplicationException()
      • Methods inherited from class Throwable

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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait