You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by si...@apache.org on 2010/01/29 08:50:18 UTC
svn commit: r904405 - in
/labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers:
./ SignatureException.java
Author: simonetripodi
Date: Fri Jan 29 07:50:17 2010
New Revision: 904405
URL: http://svn.apache.org/viewvc?rev=904405&view=rev
Log:
first checkin of SignatureException class
Added:
labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers/
labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers/SignatureException.java (with props)
Added: labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers/SignatureException.java
URL: http://svn.apache.org/viewvc/labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers/SignatureException.java?rev=904405&view=auto
==============================================================================
--- labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers/SignatureException.java (added)
+++ labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers/SignatureException.java Fri Jan 29 07:50:17 2010
@@ -0,0 +1,60 @@
+/*
+ * 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.labs.amber.signature.signers;
+
+/**
+ * Encapsulate a general OAuth signature error or warning.
+ *
+ * @version $Id$
+ */
+public final class SignatureException extends Exception {
+
+ /**
+ * The serial version UID.
+ */
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Constructs a new signature exception with the specified detail message.
+ *
+ * @param message the specified detail message.
+ */
+ public SignatureException(String message) {
+ super(message);
+ }
+
+ /**
+ * Constructs a new signature exception with the specified cause.
+ *
+ * @param cause the specified cause.
+ */
+ public SignatureException(Throwable cause) {
+ super(cause);
+ }
+
+ /**
+ * Constructs a new signature exception with the specified detail message
+ * and cause.
+ *
+ * @param message the specified detail message.
+ * @param cause the specified cause.
+ */
+ public SignatureException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+}
Propchange: labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers/SignatureException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers/SignatureException.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: labs/amber/signature-api/src/main/java/org/apache/labs/amber/signature/signers/SignatureException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org