edu.vub.at.exceptions
Class XDuplicateSlot

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byedu.vub.at.exceptions.InterpreterException
              extended byedu.vub.at.exceptions.XDuplicateSlot
All Implemented Interfaces:
java.io.Serializable

public final class XDuplicateSlot
extends InterpreterException

An XDuplicateSlot exception is raised when a field or a method is added to an object that already contains a field or method with the same name.

Author:
tvc
See Also:
Serialized Form

Field Summary
static byte _FIELD_
           
static byte _METHOD_
           
private static long serialVersionUID
           
private  ATSymbol slotName_
           
private  byte slotType_
           
 
Fields inherited from class edu.vub.at.exceptions.InterpreterException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
XDuplicateSlot(byte slotType, ATSymbol slotName)
           
 
Method Summary
 ATSymbol getSlotName()
           
 byte getSlotType()
           
 ATStripe getStripeType()
           
 boolean isDuplicateMethod()
           
 
Methods inherited from class edu.vub.at.exceptions.InterpreterException
getAmbientTalkRepresentation, printAmbientTalkStackTrace
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

_FIELD_

public static final byte _FIELD_
See Also:
Constant Field Values

_METHOD_

public static final byte _METHOD_
See Also:
Constant Field Values

slotType_

private final byte slotType_

slotName_

private final ATSymbol slotName_
Constructor Detail

XDuplicateSlot

public XDuplicateSlot(byte slotType,
                      ATSymbol slotName)
Method Detail

getStripeType

public ATStripe getStripeType()
Specified by:
getStripeType in class InterpreterException

getSlotName

public ATSymbol getSlotName()

getSlotType

public byte getSlotType()

isDuplicateMethod

public boolean isDuplicateMethod()