|
Phone
(String ID)
throw Exception
|
|
ID |
Phone Object ID |
|
| Personalizer pers = null; |
| Session sess; |
| //It is assumed the Session object has been created before and has not been released |
| try{ |
| //Create personalizer object |
| pers = new Personalizer(); |
| //Create Phone Notification object using saved Phone object ID (see GetID method) |
| String sID = "586e239512cc4630919f651f2e568fb2" ; |
| //It is supposed the object was not released and exists on the server |
| Phone objPhone = new Phone(sID); |
| ...; |
| sess.Release(); |
| } |
| catch(Exception e){ |
| //Print exception message e.Message |
| System.out.println(e.Message); |
| sess.Release(); |
| } |