Package com.Ostermiller.util
Class Base64DecodingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.Ostermiller.util.Base64DecodingException
- All Implemented Interfaces:
Serializable
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 Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Base64DecodingException
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
-