You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by cl...@apache.org on 2015/07/19 11:29:28 UTC

[4/4] jena git commit: Removed AccessDeniedRuntimeException as it was all commented out.

Removed AccessDeniedRuntimeException as it was all commented out.


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/2940ec30
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/2940ec30
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/2940ec30

Branch: refs/heads/master
Commit: 2940ec308561234bb39e7ab9436cdf4dea58bc14
Parents: 1dd6cfd
Author: Claude Warren <cl...@apache.org>
Authored: Sun Jul 19 10:26:10 2015 +0100
Committer: Claude Warren <cl...@apache.org>
Committed: Sun Jul 19 10:26:10 2015 +0100

----------------------------------------------------------------------
 .../AccessDeniedRuntimeException.java           | 66 --------------------
 1 file changed, 66 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/2940ec30/jena-permissions/src/main/java/org/apache/jena/permissions/AccessDeniedRuntimeException.java
----------------------------------------------------------------------
diff --git a/jena-permissions/src/main/java/org/apache/jena/permissions/AccessDeniedRuntimeException.java b/jena-permissions/src/main/java/org/apache/jena/permissions/AccessDeniedRuntimeException.java
deleted file mode 100644
index 19bba34..0000000
--- a/jena-permissions/src/main/java/org/apache/jena/permissions/AccessDeniedRuntimeException.java
+++ /dev/null
@@ -1,66 +0,0 @@
-///*
-// * Licensed to the Apache Software Foundation (ASF) under one
-// * or more contributor license agreements. See the NOTICE file
-// * distributed with this work for additional information
-// * regarding copyright ownership. The ASF licenses this file
-// * to you under the Apache License, Version 2.0 (the
-// * "License"); you may not use this file except in compliance
-// * with the License. You may obtain a copy of the License at
-// * 
-// * http://www.apache.org/licenses/LICENSE-2.0
-// * 
-// * Unless required by applicable law or agreed to in writing, software
-// * distributed under the License is distributed on an "AS IS" BASIS,
-// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// * See the License for the specific language governing permissions and
-// * limitations under the License.
-// */
-//
-//package org.apache.jena.permissions;
-//
-//import org.apache.jena.permissions.SecurityEvaluator.Action;
-//import org.apache.jena.permissions.SecurityEvaluator.SecNode;
-//
-///**
-// * Exception thrown by the security system when an action is not allowed.
-// * 
-// * Contains the graphIRI and the action that was not allowed.
-// */
-//public class AccessDeniedRuntimeException extends RuntimeException
-//{
-//	private static final long serialVersionUID = 2789332975364811725L;
-//
-//	private String triple;
-//
-//	/**
-//	 * Constructor.
-//	 * @param uri The SecNode that identifies graph with the security.
-//	 * @param action The action that was prohibited.
-//	 */
-//	public AccessDeniedRuntimeException( final SecNode uri, final Action action )
-//	{
-//		super(String.format("securedModel sec. %s: %s", uri, action));
-//	}
-//
-//	/**
-//	 * Constructor.
-//	 * @param uri The SecNode that identifies graph with the security.
-//	 * @param triple The triple The triple on which the action was prohibited.
-//	 * @param action The action that was prohibited.
-//	 */
-//	public AccessDeniedRuntimeException( final SecNode uri, final String triple,
-//			final Action action )
-//	{
-//		super(String.format("triple sec. %s: %s", uri, action));
-//		this.triple = triple;
-//	}
-//
-//	/**
-//	 * @return The triple on which the action was prohibited.  May be null.
-//	 */
-//	public String getTriple()
-//	{
-//		return triple;
-//	}
-//
-//}