public class ExceptionHandlerTest extends Object
| Constructor and Description |
|---|
ExceptionHandlerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testLambdaExceptionHandler() |
void |
testQueueThenThrowExceptionHandler() |
void |
testReadWithExceptionHandler()
Tests reading with an non-standard exception handler.
|
void |
testReadWithQueueThenThrowHandler() |
void |
testWriteWithIgnoreExceptionHandlerLargeMaxExceptions()
Tests writing with a non-standard exception handler.
|
void |
testWriteWithIgnoreExceptionHandlerSmallNumberOfExceptions()
Tests writing with a non-standard exception handler.
|
void |
testWriteWithQueueExceptionHandlerLargeMaxExceptions()
Tests writing with a non-standard exception handler.
|
void |
testWriteWithQueueExceptionHandlerSmallNumberOfExceptions()
Tests writing with a non-standard exception handler.
|
@Test
public void testReadWithExceptionHandler()
throws IOException
Also incidentally tests:
IOException - Never@Test
public void testLambdaExceptionHandler()
throws IOException
IOException@Test
public void testReadWithQueueThenThrowHandler()
throws IOException
IOException@DisplayName(value="Test ExceptionHandlerIgnoreThenThrowAfter when the max number of exceptions is less than the actual number of exceptions.")
@Test
public void testWriteWithIgnoreExceptionHandlerSmallNumberOfExceptions()
throws IOException,
com.opencsv.exceptions.CsvDataTypeMismatchException
Also incidentally tests:
IOException - Nevercom.opencsv.exceptions.CsvDataTypeMismatchException - Never@DisplayName(value="Test ExceptionHandlerIgnoreThenThrowAfter when the max number of exceptions is greater than the actual number of exceptions.")
@Test
public void testWriteWithIgnoreExceptionHandlerLargeMaxExceptions()
throws IOException,
com.opencsv.exceptions.CsvDataTypeMismatchException,
com.opencsv.exceptions.CsvRequiredFieldEmptyException
Also incidentally tests:
IOException - Nevercom.opencsv.exceptions.CsvDataTypeMismatchException - Nevercom.opencsv.exceptions.CsvRequiredFieldEmptyException@DisplayName(value="Test ExceptionHandlerQueueThenThrowAfter when the max number of exceptions is less than the actual number of exceptions.")
@Test
public void testWriteWithQueueExceptionHandlerSmallNumberOfExceptions()
throws IOException,
com.opencsv.exceptions.CsvDataTypeMismatchException
Also incidentally tests:
IOException - Nevercom.opencsv.exceptions.CsvDataTypeMismatchException - Never@DisplayName(value="Test ExceptionHandlerQueueThenThrowAfter when the max number of exceptions is greater than the actual number of exceptions.")
@Test
public void testWriteWithQueueExceptionHandlerLargeMaxExceptions()
throws IOException,
com.opencsv.exceptions.CsvDataTypeMismatchException,
com.opencsv.exceptions.CsvRequiredFieldEmptyException
Also incidentally tests:
IOException - Nevercom.opencsv.exceptions.CsvDataTypeMismatchException - Nevercom.opencsv.exceptions.CsvRequiredFieldEmptyException@Test
public void testQueueThenThrowExceptionHandler()
throws IOException,
com.opencsv.exceptions.CsvDataTypeMismatchException
IOExceptioncom.opencsv.exceptions.CsvDataTypeMismatchExceptionCopyright © 2005–2025. All rights reserved.