biweekly.io
Class SkipMeException

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.SkipMeException
All Implemented Interfaces:
Serializable

public class SkipMeException
extends ICalException

Thrown during the reading or writing of an iCalendar property to show that the property should not be written to the iCalendar data stream or not be included in the parsed ICalendar object.

Author:
Michael Angstadt
See Also:
Serialized Form

Constructor Summary
SkipMeException(int code, Object... args)
          Creates a new "skip me" exception.
SkipMeException(String reason)
          Creates a new "skip me" exception.
 
Method Summary
 Warning getWarning()
           
 
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

SkipMeException

public SkipMeException(int code,
                       Object... args)
Creates a new "skip me" exception.

Parameters:
code - the warning message code
args - the warning message arguments

SkipMeException

public SkipMeException(String reason)
Creates a new "skip me" exception.

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

getWarning

public Warning getWarning()


Copyright © 2013-2014 Michael Angstadt. All Rights Reserved.