Class Stou16

java.lang.Object
  extended by Stou16

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

Constructor Detail

Stou16

public Stou16(java.lang.String freason)

Stou16

public Stou16(Reg16 in16)
Method Detail

isvalid

public boolean isvalid()

getfailurereason

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

getu16

public Reg16 getu16()
             throws FeralcoreException
Throws:
FeralcoreException