biweekly.io
Class CannotParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by biweekly.ICalException
                  extended by biweekly.io.CannotParseException
All Implemented Interfaces:
Serializable

public class CannotParseException
extends ICalException

Thrown during the unmarshalling of an iCalendar property to signal that the property's value could not be parsed (for example, being unable to parse a date string).

Author:
Michael Angstadt
See Also:
Serialized Form

Constructor Summary
CannotParseException()
          Creates a new "cannot parse" exception.
CannotParseException(String reason)
          Creates a new "cannot parse" exception.
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CannotParseException

public CannotParseException()
Creates a new "cannot parse" exception.


CannotParseException

public CannotParseException(String reason)
Creates a new "cannot parse" exception.

Parameters:
reason - the reason why the property value cannot be parsed


Copyright © 2013 Michael Angstadt. All Rights Reserved.