Class Readdebugcfg

java.lang.Object
  extended by Readdebugcfg

public final class Readdebugcfg
extends java.lang.Object

From Scott Meyers on C++: Item 18: Make interfaces easy to use correctly and hard to use incorrectly. So, two constructors are used and exceptions are thrown for invalid accessor calls.


Constructor Summary
Readdebugcfg(ByteArray thesalt, Serverinfo serverinf)
           
Readdebugcfg(java.lang.String freason)
           
 
Method Summary
 java.lang.String getfailurereason()
           
 ByteArray getsalt()
           
 Serverinfo getserverinfo()
           
 boolean isloaded()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Readdebugcfg

public Readdebugcfg(java.lang.String freason)

Readdebugcfg

public Readdebugcfg(ByteArray thesalt,
                    Serverinfo serverinf)
             throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException
Method Detail

isloaded

public boolean isloaded()

getfailurereason

public java.lang.String getfailurereason()
                                  throws FeralcoreException
Throws:
FeralcoreException

getsalt

public ByteArray getsalt()
                  throws FeralcoreException
Throws:
FeralcoreException

getserverinfo

public Serverinfo getserverinfo()
                         throws FeralcoreException,
                                java.lang.CloneNotSupportedException
Throws:
FeralcoreException
java.lang.CloneNotSupportedException