com.camelspotting.jotl.exceptions
Class JOTLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.camelspotting.jotl.exceptions.JOTLException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalHostException, UnreachableHostException

public class JOTLException
extends Exception

All exceptions that happen in the code are wrapped inside OpenTTD-exceptions.

Version:
1.0
Author:
Mats Andressen
See Also:
Serialized Form

Constructor Summary
JOTLException(String msg)
          Main constructor for these exceptions.
JOTLException(String msg, Throwable cause)
          Main constructor for these exceptions.
JOTLException(Throwable cause)
          Simple constructor with no message.
 
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

JOTLException

public JOTLException(String msg)
Main constructor for these exceptions.

Parameters:
msg - the message to include.

JOTLException

public JOTLException(Throwable cause)
Simple constructor with no message.


JOTLException

public JOTLException(String msg,
                     Throwable cause)
Main constructor for these exceptions.

Parameters:
msg - the message to include.
cause - the cause of this exception


Copyright © 2013. All Rights Reserved.