Class RRloadpub

java.lang.Object
  extended by RRloadpub

public final class RRloadpub
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
RRloadpub(ByteArray inpubkey)
           
RRloadpub(java.lang.String freason)
           
 
Method Summary
 java.lang.String getfailurereason()
           
 ByteArray getpubkey()
           
 boolean isvalid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RRloadpub

public RRloadpub(java.lang.String freason)

RRloadpub

public RRloadpub(ByteArray inpubkey)
Method Detail

isvalid

public boolean isvalid()

getpubkey

public ByteArray getpubkey()
                    throws FeralcoreException
Throws:
FeralcoreException

getfailurereason

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