Skip to content

Delete Neo4jException.neo4jErrorCode and update documentation #1249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 23, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package org.neo4j.driver.exceptions;

/**
* This is the base class for all exceptions caused as part of communication with the remote Neo4j server.
* This is the base class for Neo4j exceptions.
*
* @since 1.0
*/
Expand All @@ -45,17 +45,6 @@ public Neo4jException(String code, String message, Throwable cause) {
this.code = code;
}

/**
* Access the standard Neo4j Status Code for this exception, you can use this to refer to the Neo4j manual for
* details on what caused the error.
*
* @return the Neo4j Status Code for this exception, or 'N/A' if none is available
*/
@Deprecated
public String neo4jErrorCode() {
return code;
}

/**
* Access the status code for this exception. The Neo4j manual can
* provide further details on the available codes and their meanings.
Expand Down