| 1 | // SECTION-START[License Header] |
| 2 | // <editor-fold defaultstate="collapsed" desc=" Generated License "> |
| 3 | /* |
| 4 | * Copyright (c) 2010 The JOMC Project |
| 5 | * Copyright (c) 2005 Christian Schulte <schulte2005@users.sourceforge.net> |
| 6 | * All rights reserved. |
| 7 | * |
| 8 | * Redistribution and use in source and binary forms, with or without |
| 9 | * modification, are permitted provided that the following conditions |
| 10 | * are met: |
| 11 | * |
| 12 | * o Redistributions of source code must retain the above copyright |
| 13 | * notice, this list of conditions and the following disclaimer. |
| 14 | * |
| 15 | * o Redistributions in binary form must reproduce the above copyright |
| 16 | * notice, this list of conditions and the following disclaimer in |
| 17 | * the documentation and/or other materials provided with the |
| 18 | * distribution. |
| 19 | * |
| 20 | * THIS SOFTWARE IS PROVIDED BY THE JOMC PROJECT AND CONTRIBUTORS "AS IS" |
| 21 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
| 22 | * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 23 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE JOMC PROJECT OR |
| 24 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 25 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 26 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
| 27 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 28 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 29 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
| 30 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 31 | * |
| 32 | * $Id: SequencesSystemException.java 2244 2010-06-29 07:58:09Z schulte2005 $ |
| 33 | * |
| 34 | */ |
| 35 | // </editor-fold> |
| 36 | // SECTION-END |
| 37 | package org.jomc.sequences; |
| 38 | |
| 39 | // SECTION-START[Documentation] |
| 40 | // <editor-fold defaultstate="collapsed" desc=" Generated Documentation "> |
| 41 | /** |
| 42 | * Gets thrown whenever an unexpected error condition is detected. |
| 43 | * |
| 44 | * @author <a href="mailto:schulte2005@users.sourceforge.net">Christian Schulte</a> 1.0 |
| 45 | * @version $Id: SequencesSystemException.java 2244 2010-06-29 07:58:09Z schulte2005 $ |
| 46 | */ |
| 47 | // </editor-fold> |
| 48 | // SECTION-END |
| 49 | // SECTION-START[Annotations] |
| 50 | // <editor-fold defaultstate="collapsed" desc=" Generated Annotations "> |
| 51 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.0", comments = "See http://jomc.sourceforge.net/jomc/1.0/jomc-tools" ) |
| 52 | // </editor-fold> |
| 53 | // SECTION-END |
| 54 | public class SequencesSystemException extends RuntimeException |
| 55 | { |
| 56 | // SECTION-START[SequencesSystemException] |
| 57 | |
| 58 | /** Serial version UID for backwards compatibility with 1.0.x classes. */ |
| 59 | private static final long serialVersionUID = 5758675573917809186L; |
| 60 | |
| 61 | /** |
| 62 | * Creates a new {@code SequencesSystemException} taking a message describing the exception. |
| 63 | * |
| 64 | * @param msg The message describing the exception. |
| 65 | */ |
| 66 | public SequencesSystemException( final String msg ) |
| 67 | { |
| 68 | super( msg ); |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Creates a new {@code SequencesSystemException} taking a causing exception. |
| 73 | * |
| 74 | * @param e The cause of the exception. |
| 75 | */ |
| 76 | public SequencesSystemException( final Exception e ) |
| 77 | { |
| 78 | super( e ); |
| 79 | } |
| 80 | |
| 81 | /** |
| 82 | * Creates a new {@code SequencesSystemException} taking a message describing the exception a causing exception. |
| 83 | * |
| 84 | * @param msg The message describing the exception. |
| 85 | * @param e The cause of the exception. |
| 86 | */ |
| 87 | public SequencesSystemException( final String msg, final Exception e ) |
| 88 | { |
| 89 | super( msg, e ); |
| 90 | } |
| 91 | |
| 92 | // SECTION-END |
| 93 | // SECTION-START[Constructors] |
| 94 | // <editor-fold defaultstate="collapsed" desc=" Generated Constructors "> |
| 95 | |
| 96 | /** Creates a new {@code SequencesSystemException} instance. */ |
| 97 | @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.0", comments = "See http://jomc.sourceforge.net/jomc/1.0/jomc-tools" ) |
| 98 | public SequencesSystemException() |
| 99 | { |
| 100 | // SECTION-START[Default Constructor] |
| 101 | super(); |
| 102 | // SECTION-END |
| 103 | } |
| 104 | // </editor-fold> |
| 105 | // SECTION-END |
| 106 | // SECTION-START[Dependencies] |
| 107 | // SECTION-END |
| 108 | // SECTION-START[Properties] |
| 109 | // SECTION-END |
| 110 | // SECTION-START[Messages] |
| 111 | // SECTION-END |
| 112 | } |