Skip to content
This repository has been archived by the owner on May 31, 2020. It is now read-only.

Custom exception raising. #255

Open
ivan-nekipelov opened this issue Sep 23, 2016 · 1 comment
Open

Custom exception raising. #255

ivan-nekipelov opened this issue Sep 23, 2016 · 1 comment

Comments

@ivan-nekipelov
Copy link
Contributor

It is now possible to raise only exceptions from package org.python.exceptions. So for raise custom python exception there are 2 option:

  1. Rebuild java-python-support.jar with your exception.
  2. Write on java exception proxy-class.
freakboy3742 added a commit to freakboy3742/voc that referenced this issue Sep 27, 2016
freakboy3742 added a commit that referenced this issue Sep 27, 2016
Refs #255 - Exceptions can be from outside org.python.exceptions.
@freakboy3742
Copy link
Member

Thanks for the report! Confirmed, and a test added.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants