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
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 http://ostermiller.org/contact.pl?regarding=Java+Utilities
- See Also:
- Serialized Form
Method Summary |
char |
getChar()
Get the character that caused this error. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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
getChar
public char getChar()
- Get the character that caused this error.
- Returns:
- the character that caused this error.
- Since:
- ostermillerutils 1.00.00
Copyright © 2001-2012 by Stephen Ostermiller