Asterisk-Java

org.asteriskjava.fastagi
Class AgiException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.asteriskjava.fastagi.AgiException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AgiHangupException, AgiNetworkException, AgiSpeechException, InvalidCommandSyntaxException, InvalidOrUnknownCommandException

public class AgiException
extends java.lang.Exception

Base class for all AGI specific exceptions.

Version:
$Id: AgiException.java 938 2007-12-31 03:23:38Z srt $
Author:
srt
See Also:
Serialized Form

Constructor Summary
AgiException(java.lang.String message)
          Creates a new AgiException with the given message.
AgiException(java.lang.String message, java.lang.Throwable cause)
          Creates a new AgiException with the given message and 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

AgiException

public AgiException(java.lang.String message)
Creates a new AgiException with the given message.

Parameters:
message - a message describing the AgiException.

AgiException

public AgiException(java.lang.String message,
                    java.lang.Throwable cause)
Creates a new AgiException with the given message and cause.

Parameters:
message - a message describing the AgiException.
cause - the throwable that caused this exception.

Asterisk-Java

Copyright © 2004-2009 Stefan Reuter. All Rights Reserved.