javapns.devices.exceptions
Class DuplicateDeviceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javapns.devices.exceptions.DuplicateDeviceException
All Implemented Interfaces:
Serializable

Deprecated.

@Deprecated
public class DuplicateDeviceException
extends Exception

Thrown when a Device already exist and we try to add it a second time

Author:
Maxime Peron
See Also:
Serialized Form

Constructor Summary
DuplicateDeviceException()
          Deprecated. Constructor
DuplicateDeviceException(String message)
          Deprecated. Constructor with custom message
 
Method Summary
 String toString()
          Deprecated. String representation
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateDeviceException

public DuplicateDeviceException()
Deprecated. 
Constructor


DuplicateDeviceException

public DuplicateDeviceException(String message)
Deprecated. 
Constructor with custom message

Parameters:
message -
Method Detail

toString

public String toString()
Deprecated. 
String representation

Overrides:
toString in class Throwable