Class MariaDbDataTruncation

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<java.lang.Throwable>

    public class MariaDbDataTruncation
    extends java.sql.DataTruncation
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MariaDbDataTruncation​(java.lang.String message, java.lang.String sqlState, int errorCode, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorCode()  
      java.lang.String getMessage()  
      java.lang.String getSQLState()  
      • Methods inherited from class java.sql.DataTruncation

        getDataSize, getIndex, getParameter, getRead, getTransferSize
      • Methods inherited from class java.sql.SQLWarning

        getNextWarning, setNextWarning
      • Methods inherited from class java.sql.SQLException

        getNextException, iterator, setNextException
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • message

        private final java.lang.String message
      • sqlState

        private final java.lang.String sqlState
      • errorCode

        private final int errorCode
    • Constructor Detail

      • MariaDbDataTruncation

        public MariaDbDataTruncation​(java.lang.String message,
                                     java.lang.String sqlState,
                                     int errorCode,
                                     java.lang.Throwable cause)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • getSQLState

        public java.lang.String getSQLState()
        Overrides:
        getSQLState in class java.sql.SQLException
      • getErrorCode

        public int getErrorCode()
        Overrides:
        getErrorCode in class java.sql.SQLException