Class Base64DecodingException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.Ostermiller.util.Base64DecodingException
All Implemented Interfaces:
Serializable

public class Base64DecodingException extends IOException
Exception that is thrown when an unexpected character is encountered during Base64 decoding. One could catch this exception and use the unexpected character for some other purpose such as including it with data that comes at the end of a Base64 encoded section of an email message.
Since:
ostermillerutils 1.00.00
Author:
Stephen Ostermiller https://ostermiller.org/contact.pl?regarding=Java+Utilities
See Also:
  • Constructor Details

    • Base64DecodingException

      public Base64DecodingException(String message, char c)
      Construct an new exception.
      Parameters:
      message - message later to be returned by a getMessage() call.
      c - character that caused this error.
      Since:
      ostermillerutils 1.00.00
  • Method Details

    • getChar

      public char getChar()
      Get the character that caused this error.
      Returns:
      the character that caused this error.
      Since:
      ostermillerutils 1.00.00