-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/master' into feature/native-associations
- Loading branch information
Showing
20 changed files
with
408 additions
and
93 deletions.
There are no files selected for viewing
24 changes: 18 additions & 6 deletions
24
infra/prism-api/src/main/java/com/evolveum/midpoint/prism/crypto/EncryptionException.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,24 +1,36 @@ | ||
/* | ||
* Copyright (c) 2010-2013 Evolveum and contributors | ||
* Copyright (c) 2010-2024 Evolveum and contributors | ||
* | ||
* This work is dual-licensed under the Apache License 2.0 | ||
* and European Union Public License. See LICENSE file for details. | ||
*/ | ||
package com.evolveum.midpoint.prism.crypto; | ||
|
||
public class EncryptionException extends Exception { | ||
import com.evolveum.midpoint.util.LocalizableMessage; | ||
import com.evolveum.midpoint.util.exception.CommonException; | ||
|
||
public class EncryptionException extends CommonException { | ||
|
||
private static final long serialVersionUID = 8289563205061329615L; | ||
|
||
public EncryptionException(String message) { | ||
super(message); | ||
} | ||
|
||
public EncryptionException(String message, Throwable throwable) { | ||
super(message, throwable); | ||
public EncryptionException(LocalizableMessage userFriendlyMessage) { | ||
super(userFriendlyMessage); | ||
} | ||
|
||
public EncryptionException(Throwable cause) { | ||
super(cause); | ||
} | ||
|
||
public EncryptionException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
public EncryptionException(Throwable throwable) { | ||
super(throwable); | ||
@Override | ||
public String getErrorTypeMessage() { | ||
return "Encryption error"; | ||
} | ||
} |
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
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
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
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
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
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
Oops, something went wrong.