leafchat.core.api
Class GeneralException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by leafchat.core.api.GeneralException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AudioSetupException, NetworkException

public class GeneralException
extends java.lang.Exception

General exceptions (this is often used to wrap other exceptions so that handling is easier, but we know they've been considered)

See Also:
Serialized Form

Constructor Summary
GeneralException()
          Constructs empty exception.
GeneralException(java.lang.String message)
           
GeneralException(java.lang.String message, java.lang.Throwable cause)
           
GeneralException(java.lang.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

GeneralException

public GeneralException()
Constructs empty exception.


GeneralException

public GeneralException(java.lang.String message)
Parameters:
message - Message

GeneralException

public GeneralException(java.lang.Throwable cause)
Parameters:
cause - Cause

GeneralException

public GeneralException(java.lang.String message,
                        java.lang.Throwable cause)
Parameters:
message - Message
cause - Cause


Copyright © 2011 Samuel Marshall. All rights reserved.