Enum OperationFault.Type

    • Enum Constant Detail

      • PRIMARY_KEY_ALREADY_EXISTS

        public static final OperationFault.Type PRIMARY_KEY_ALREADY_EXISTS
        The primary key that already exists.
      • FOREIGN_KEY_ALREADY_EXISTS

        public static final OperationFault.Type FOREIGN_KEY_ALREADY_EXISTS
        Foreign key already exists.
      • INDEX_ALREADY_EXISTS

        public static final OperationFault.Type INDEX_ALREADY_EXISTS
        Index already exists.
      • SEQUENCE_ALREADY_EXISTS

        public static final OperationFault.Type SEQUENCE_ALREADY_EXISTS
        Sequence already exists.
      • SEQUENCE_DOES_NOT_EXIST

        public static final OperationFault.Type SEQUENCE_DOES_NOT_EXIST
        Sequence does not exist.
      • TABLE_DOES_NOT_EXIST

        public static final OperationFault.Type TABLE_DOES_NOT_EXIST
        Table does not exist.
      • COLUMN_DOES_NOT_EXIST

        public static final OperationFault.Type COLUMN_DOES_NOT_EXIST
        Column does not exist.
      • TABLE_ALREADY_EXISTS

        public static final OperationFault.Type TABLE_ALREADY_EXISTS
        Table does not exist.
    • Method Detail

      • values

        public static OperationFault.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (OperationFault.Type c : OperationFault.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OperationFault.Type valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null