goldengate.common.command.exception
Class CommandAbstractException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by goldengate.common.command.exception.CommandAbstractException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Reply421Exception, Reply425Exception, Reply426Exception, Reply450Exception, Reply451Exception, Reply452Exception, Reply500Exception, Reply501Exception, Reply502Exception, Reply503Exception, Reply504Exception, Reply522Exception, Reply530Exception, Reply550Exception, Reply552Exception, Reply553Exception

public abstract class CommandAbstractException
extends Exception

Abstract class for exception in commands

Author:
Frederic Bregier
See Also:
Serialized Form

Field Summary
 ReplyCode code
          Associated code
 String message
          Associated Message if any
 
Constructor Summary
CommandAbstractException(ReplyCode code, String message)
          Unique constructor
 
Method Summary
 String getMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

code

public ReplyCode code
Associated code


message

public String message
Associated Message if any

Constructor Detail

CommandAbstractException

public CommandAbstractException(ReplyCode code,
                                String message)
Unique constructor

Parameters:
code -
message -
Method Detail

toString

public String toString()
Overrides:
toString in class Throwable

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.