This repository has been archived by the owner on Jul 2, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1114 from MPDL-Innovations/develop
Release 3.0
- Loading branch information
Showing
537 changed files
with
60,929 additions
and
61,206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 11 additions & 14 deletions
25
src/main/java/de/mpg/imeji/exceptions/AlreadyExistsException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
package de.mpg.imeji.exceptions; | ||
|
||
import com.hp.hpl.jena.Jena; | ||
|
||
public class AlreadyExistsException extends ImejiException | ||
{ | ||
private static final long serialVersionUID = 4123172628332785494L; | ||
public class AlreadyExistsException extends ImejiException { | ||
private static final long serialVersionUID = 4123172628332785494L; | ||
|
||
/** | ||
* Constructor for a new {@link AlreadyExistsException} | ||
* | ||
* @param message | ||
*/ | ||
public AlreadyExistsException(String message) { | ||
super(message); | ||
} | ||
|
||
/** | ||
* Constructor for a new {@link AlreadyExistsException} | ||
* | ||
* @param message | ||
*/ | ||
public AlreadyExistsException(String message) | ||
{ | ||
super(message); | ||
} | ||
|
||
} |
62 changes: 29 additions & 33 deletions
62
src/main/java/de/mpg/imeji/exceptions/AuthenticationError.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,39 @@ | ||
/* | ||
* | ||
* | ||
* CDDL HEADER START | ||
* | ||
* The contents of this file are subject to the terms of the | ||
* Common Development and Distribution License, Version 1.0 only | ||
* (the "License"). You may not use this file except in compliance | ||
* with the License. | ||
* | ||
* You can obtain a copy of the license at license/ESCIDOC.LICENSE | ||
* or http://www.escidoc.de/license. | ||
* See the License for the specific language governing permissions | ||
* and limitations under the License. | ||
* | ||
* When distributing Covered Code, include this CDDL HEADER in each | ||
* file and include the License file at license/ESCIDOC.LICENSE. | ||
* If applicable, add the following below this CDDL HEADER, with the | ||
* fields enclosed by brackets "[]" replaced with your own identifying | ||
* information: Portions Copyright [yyyy] [name of copyright owner] | ||
* | ||
* | ||
* The contents of this file are subject to the terms of the Common Development and Distribution | ||
* License, Version 1.0 only (the "License"). You may not use this file except in compliance with | ||
* the License. | ||
* | ||
* You can obtain a copy of the license at license/ESCIDOC.LICENSE or http://www.escidoc.de/license. | ||
* See the License for the specific language governing permissions and limitations under the | ||
* License. | ||
* | ||
* When distributing Covered Code, include this CDDL HEADER in each file and include the License | ||
* file at license/ESCIDOC.LICENSE. If applicable, add the following below this CDDL HEADER, with | ||
* the fields enclosed by brackets "[]" replaced with your own identifying information: Portions | ||
* Copyright [yyyy] [name of copyright owner] | ||
* | ||
* CDDL HEADER END | ||
*/ | ||
/* | ||
* Copyright 2006-2007 Fachinformationszentrum Karlsruhe Gesellschaft | ||
* für wissenschaftlich-technische Information mbH and Max-Planck- | ||
* Gesellschaft zur Förderung der Wissenschaft e.V. | ||
* All rights reserved. Use is subject to license terms. | ||
* Copyright 2006-2007 Fachinformationszentrum Karlsruhe Gesellschaft für | ||
* wissenschaftlich-technische Information mbH and Max-Planck- Gesellschaft zur Förderung der | ||
* Wissenschaft e.V. All rights reserved. Use is subject to license terms. | ||
*/ | ||
package de.mpg.imeji.exceptions; | ||
|
||
public class AuthenticationError extends ImejiException | ||
{ | ||
private static final long serialVersionUID = 6128275500671470459L; | ||
|
||
/** | ||
* Constructor for HTTP 401 Unauthorized | ||
*/ | ||
public AuthenticationError(String message) | ||
{ | ||
super(message); | ||
} | ||
|
||
public class AuthenticationError extends ImejiException { | ||
private static final long serialVersionUID = 6128275500671470459L; | ||
|
||
/** | ||
* Constructor for HTTP 401 Unauthorized | ||
*/ | ||
public AuthenticationError(String message) { | ||
super(message); | ||
minimizeStacktrace(); | ||
} | ||
|
||
} |
Oops, something went wrong.