Code example for Attributes

Methods: getValue

0
    return ex;
  } 
 
  /** Create RemoteException from attributes */ 
  public static RemoteException valueOf(Attributes attrs) {
    return new RemoteException(attrs.getValue("class"),
        attrs.getValue("message")); 
  } 
 
  @Override 
  public String toString() {
    return getClass().getName() + "(" + className + "): " + getMessage();
  } 
}