ticketvalidationexception.java

来自「CAS在Tomcat中实现单点登录项目,单点登录(Single Sign On 」· Java 代码 · 共 43 行

JAVA
43
字号
/* * Copyright 2007 The JA-SIG Collaborative. All rights reserved. See license * distributed with this file and available online at * http://www.ja-sig.org/products/cas/overview/license/ */package org.jasig.cas.ticket;import org.jasig.cas.authentication.principal.Service;/** * Exception to alert that there was an error validating the ticket. *  * @author Scott Battaglia * @version $Revision: 42230 $ $Date: 2007-07-18 09:20:06 -0400 (Wed, 18 Jul 2007) $ * @since 3.0 */public class TicketValidationException extends TicketException {    /** Unique Serial ID. */    private static final long serialVersionUID = 3257004341537093175L;    /** The code description. */    private static final String CODE = "INVALID_SERVICE";        private final Service service;    /**     * Constructs a TicketValidationException with the default exception code     * and the original exception that was thrown.     *      * @param throwable the chained exception     */    public TicketValidationException(final Service service) {        super(CODE);        this.service = service;    }        public Service getOriginalService() {        return this.service;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?