All Implemented Interfaces:
Serializable

public final class WriterExceptionextends Exception
A base class which covers the range of exceptions which may occur when encoding a barcode using the Writer framework.
See Also:
  • Constructor Details

    • WriterException

      public WriterException()
      Creates an exception with neither a message nor a cause.
    • WriterException

      public WriterException(String message)
      Creates an exception carrying the reason encoding failed.
      Parameters:
      message - the reason encoding failed, carried as the exception detail message
    • WriterException

      public WriterException(Throwable cause)
      Creates an exception wrapping the error that stopped encoding.
      Parameters:
      cause - the underlying error that stopped encoding