org.onebusaway.csv_entities.exceptions
Class CsvException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.onebusaway.csv_entities.exceptions.CsvException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CsvEntityException

public class CsvException
extends RuntimeException

Extend from Exception or RuntimeException? The debate rages on, but I chose to extend from RuntimeException to maintain compatibility with existing method signatures and because most of the exceptions thrown here are non-recoverable. That is, you typically just log them and exit.

Author:
bdferris
See Also:
Serialized Form

Constructor Summary
CsvException(String message)
           
CsvException(String message, Throwable cause)
           
CsvException(Throwable cause)
           
 
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

CsvException

public CsvException(String message)

CsvException

public CsvException(String message,
                    Throwable cause)

CsvException

public CsvException(Throwable cause)


Copyright © 2012 OneBusAway. All Rights Reserved.