public java.lang.Object createJavaObject() {
public java.lang.Object createJavaObject() throws Exception {
    public java.lang.Object createJavaObject() {        java.net.Socket s = new java.net.Socket();                if (s != null) {//??            s.open();        } else {            throw new Exception("Could not create java socket. The java socket is null.");        }        return s;    }