tracefw/tracecompiler/src/com.nokia.tracecompiler/src/com/nokia/tracecompiler/source/SourceErrorCodes.java
changeset 56 aa2539c91954
parent 54 a151135b0cf9
child 60 e54443a6878c
child 62 1c2bb2fc7c87
equal deleted inserted replaced
54:a151135b0cf9 56:aa2539c91954
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 * Error codes for source parser
       
    17 *
       
    18 */
       
    19 package com.nokia.tracecompiler.source;
       
    20 
       
    21 /**
       
    22  * Error codes for source parser
       
    23  * 
       
    24  */
       
    25 public interface SourceErrorCodes {
       
    26 
       
    27 	/**
       
    28 	 * Something unexpected happened while parsing source. This should be
       
    29 	 * asserted
       
    30 	 */
       
    31 	int UNEXPECTED_EXCEPTION = 0; // CodForChk_Dis_Magic
       
    32 
       
    33 	/**
       
    34 	 * Missing owner from source context. This should be asserted
       
    35 	 */
       
    36 	int CONTEXT_MISSING_OWNER = 1; // CodForChk_Dis_Magic
       
    37 
       
    38 	/**
       
    39 	 * Unexpected separator while parsing parameters
       
    40 	 */
       
    41 	int UNEXPECTED_PARAMETER_SEPARATOR = 2; // CodForChk_Dis_Magic
       
    42 
       
    43 	/**
       
    44 	 * Unexpected end of file while parsing
       
    45 	 */
       
    46 	int UNEXPECTED_END_OF_FILE = 3; // CodForChk_Dis_Magic
       
    47 
       
    48 	/**
       
    49 	 * Unexpected quote character was encountered
       
    50 	 */
       
    51 	int UNEXPECTED_QUOTE_CHARACTER = 4; // CodForChk_Dis_Magic
       
    52 
       
    53 	/**
       
    54 	 * Bracket mismatch
       
    55 	 */
       
    56 	int BRACKET_MISMATCH = 5; // CodForChk_Dis_Magic
       
    57 
       
    58 	/**
       
    59 	 * Offset / length was not valid
       
    60 	 */
       
    61 	int BAD_LOCATION = 6; // CodForChk_Dis_Magic
       
    62 
       
    63 }