Author: elecharny
Date: Sun Aug 21 12:25:13 2005
New Revision: 234321
URL: http://svn.apache.org/viewcvs?rev=234321&view=rev
Log:
created
Added:
directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/DecoderException.java
(with props)
directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/EncoderException.java
Added: directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/DecoderException.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/DecoderException.java?rev=234321&view=auto
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/DecoderException.java
(added)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/DecoderException.java
Sun Aug 21 12:25:13 2005
@@ -0,0 +1,40 @@
+/*
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * Licensed 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.asn1new;
+
+/**
+ * Thrown when a Decoder has encountered a failure condition during a decode.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class DecoderException extends Exception
+{
+ public static final long serialVersionUID = 1L;
+
+ //~ Constructors -------------------------------------------------------------------------------
+
+ /**
+ * Creates a DecoderException
+ *
+ * @param message A message with meaning to a human
+ */
+ public DecoderException( String message )
+ {
+ super( message );
+ }
+
+}
Propchange: directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/DecoderException.java
------------------------------------------------------------------------------
svn:executable = *
Added: directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/EncoderException.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/EncoderException.java?rev=234321&view=auto
==============================================================================
--- directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/EncoderException.java
(added)
+++ directory/asn1/branches/asn1-new-ber/ber-new/src/java/main/org/apache/asn1new/EncoderException.java
Sun Aug 21 12:25:13 2005
@@ -0,0 +1,40 @@
+/*
+ * Copyright 2005 The Apache Software Foundation
+ *
+ * Licensed 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.asn1new;
+
+/**
+ * Thrown when an Encoder has encountered a failure condition during an encoding.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class EncoderException extends Exception
+{
+ public static final long serialVersionUID = 1L;
+
+ //~ Constructors -------------------------------------------------------------------------------
+
+ /**
+ * Creates a EncoderException
+ *
+ * @param message A message with meaning to a human
+ */
+ public EncoderException( String message )
+ {
+ super( message );
+ }
+
+}
|