com.starbase.starteam
Class DisembodiedItemException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.starbase.starteam.DisembodiedItemException
All Implemented Interfaces:
java.io.Serializable

public class DisembodiedItemException
extends java.lang.RuntimeException

An exception that is thrown when attempting to perform an operation not allowed for a disembodied item.

See Also:
Item.isDisembodied(), Serialized Form

Constructor Summary
DisembodiedItemException()
          Constructs a new DisembodiedItemException.
DisembodiedItemException(java.lang.String message)
          Constructs a new DisembodiedItemException with a message.
DisembodiedItemException(java.lang.String message, Item disembodiedItem)
          Constructs a new DisembodiedItemException with a message and the disembodied item itself.
 
Method Summary
 boolean equals(java.lang.Object source)
          returns true if this object instance is equal to the source
 Item getItem()
          Returns the disembodied item itself, if any.
 java.lang.String getMessage()
          Returns the detail message string of this throwable.
 int hashCode()
          returns a unique hash for all instances of this type
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DisembodiedItemException

public DisembodiedItemException()
Constructs a new DisembodiedItemException.


DisembodiedItemException

public DisembodiedItemException(java.lang.String message)
Constructs a new DisembodiedItemException with a message.

Parameters:
message - the message for the exception.

DisembodiedItemException

public DisembodiedItemException(java.lang.String message,
                                Item disembodiedItem)
Constructs a new DisembodiedItemException with a message and the disembodied item itself.

Parameters:
message - the message for the exception.
disembodiedItem - the disembodied item itself.
Method Detail

getItem

public Item getItem()
Returns the disembodied item itself, if any.


equals

public boolean equals(java.lang.Object source)
returns true if this object instance is equal to the source

Overrides:
equals in class java.lang.Object
Parameters:
source - Object the source to comapre with
Returns:
boolean true if this object is equal to the source

hashCode

public int hashCode()
returns a unique hash for all instances of this type

Overrides:
hashCode in class java.lang.Object
Returns:
int a unique hash for all instances of this type

getMessage

public java.lang.String getMessage()
Returns the detail message string of this throwable.

Overrides:
getMessage in class java.lang.Throwable
Returns:
the detail message string of this Throwable instance (which may be null).


StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.