Class RecordAndTableSchemaMismatchExceptionHandler
java.lang.Object
org.apache.ignite.migrationtools.cli.exceptions.RecordAndTableSchemaMismatchExceptionHandler
- All Implemented Interfaces:
org.apache.ignite3.internal.cli.core.exception.ExceptionHandler<org.apache.ignite.migrationtools.persistence.mappers.RecordAndTableSchemaMismatchException>
public class RecordAndTableSchemaMismatchExceptionHandler
extends Object
implements org.apache.ignite3.internal.cli.core.exception.ExceptionHandler<org.apache.ignite.migrationtools.persistence.mappers.RecordAndTableSchemaMismatchException>
RecordAndTableSchemaMismatchExceptionHandler.
-
Field Summary
FieldsFields inherited from interface org.apache.ignite3.internal.cli.core.exception.ExceptionHandler
DEFAULT, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<org.apache.ignite.migrationtools.persistence.mappers.RecordAndTableSchemaMismatchException>static Stringdetails(org.apache.ignite.migrationtools.persistence.mappers.RecordAndTableSchemaMismatchException e) Builds the details output.inthandle(org.apache.ignite3.internal.cli.core.exception.ExceptionWriter writer, org.apache.ignite.migrationtools.persistence.mappers.RecordAndTableSchemaMismatchException e)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
RecordAndTableSchemaMismatchExceptionHandler
public RecordAndTableSchemaMismatchExceptionHandler()
-
-
Method Details
-
handle
public int handle(org.apache.ignite3.internal.cli.core.exception.ExceptionWriter writer, org.apache.ignite.migrationtools.persistence.mappers.RecordAndTableSchemaMismatchException e) - Specified by:
handlein interfaceorg.apache.ignite3.internal.cli.core.exception.ExceptionHandler<org.apache.ignite.migrationtools.persistence.mappers.RecordAndTableSchemaMismatchException>
-
details
public static String details(org.apache.ignite.migrationtools.persistence.mappers.RecordAndTableSchemaMismatchException e) Builds the details output.- Parameters:
e- Exception.- Returns:
- The output as String.
-
applicableException
public Class<org.apache.ignite.migrationtools.persistence.mappers.RecordAndTableSchemaMismatchException> applicableException()- Specified by:
applicableExceptionin interfaceorg.apache.ignite3.internal.cli.core.exception.ExceptionHandler<org.apache.ignite.migrationtools.persistence.mappers.RecordAndTableSchemaMismatchException>
-