biweekly.io
Class CannotParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
biweekly.ICalException
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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CannotParseException
public CannotParseException(int code,
Object... args)
- Creates a new "cannot parse" exception.
- Parameters:
code - the warning message codeargs - the warning message arguments
CannotParseException
public CannotParseException(String reason)
- Creates a new "cannot parse" exception.
- Parameters:
reason - the reason why the property value cannot be parsed
getWarning
public Warning getWarning()
Copyright © 2013-2014 Michael Angstadt. All Rights Reserved.