📄 tagmismatchexception.java
字号:
/* $Id: TagMismatchException.java,v 1.2 2001/05/26 07:10:25 raif Exp $
*
* Copyright (C) 1997-2001 The Cryptix Foundation Limited. All rights reserved.
*
* Use, modification, copying and distribution of this software is subject to
* the terms and conditions of the Cryptix General Licence. You should have
* received a copy of the Cryptix General Licence along with this library; if
* not, you can download a copy from http://www.cryptix.org/
*/
package cryptix.asn1.io;
/**
* A subclass of ASNIOException class (checked exception) to denote that an
* expected ASN.1 Tag was not found in the input stream.<p>
*
* @version $Revision: 1.2 $
* @author Raif S. Naffah
*/
//public class TagMismatchException extends ASNIOException {
public class TagMismatchException extends ElementNotFoundException {
/**
* Constructs an <tt>TagMismatchException</tt> with the specified detail
* message. The error message string <tt>tag</tt> can later be retrieved by
* the <tt>getMessage()</tt> method of class <tt>java.lang.Throwable</tt>.
*
* @param tag the detail message, which in the case of this exception denotes
* the string representation of the ASN.1 Tag that was expected in the input
* stream.
*/
public TagMismatchException(String tag) {
super(tag);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -