com.Ostermiller.util Java Utilities


com.Ostermiller.util
Class Base64DecodingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by 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

Constructor Summary
Base64DecodingException(String message, char c)
          Construct an new exception.
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Detail

getChar

public char getChar()
Get the character that caused this error.

Returns:
the character that caused this error.
Since:
ostermillerutils 1.00.00

com.Ostermiller.util Java Utilities


Copyright © 2001-2012 by Stephen Ostermiller