Skip to content
Fourohtwo

detect.halowerk.com/v1/F-A-NIGHT-OS-JVM-EXCEPTION/jvm-exception-table-first-matc

Returns the first exception-table handler index for every typed throw point in a bounded method with overlapping ranges and inherited catches, for a JVM bytecode fixture author.

BaseAnswering
POSThttps://detect.halowerk.com/v1/F-A-NIGHT-OS-JVM-EXCEPTION/jvm-exception-table-first-matching-handler

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://detect.halowerk.com/v1/F-A-NIGHT-OS-JVM-EXCEPTION/jvm-exception-table-first-matching-handler", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"artifact":{"exception_model":{"claim_handlers":[-1,1,-1],"claim_unhandled_count":1,"code_length":50,"handlers":[[0,20,30,2],[5,25,40,1]],"throws":[[10,3],[22,3],[25,3]],"type_count":3,"type_parents":[[2,1],[3,2]]}}}),
});
console.log(await res.json());

Example input

{
  "artifact": {
    "exception_model": {
      "claim_handlers": [
        -1,
        1,
        -1
      ],
      "claim_unhandled_count": 1,
      "code_length": 50,
      "handlers": [
        [
          0,
          20,
          30,
          2
        ],
        [
          5,
          25,
          40,
          1
        ]
      ],
      "throws": [
        [
          10,
          3
        ],
        [
          22,
          3
        ],
        [
          25,
          3
        ]
      ],
      "type_count": 3,
      "type_parents": [
        [
          2,
          1
        ],
        [
          3,
          2
        ]
      ]
    }
  }
}