コード例 #1
0
ファイル: FetchDogSetup.cs プロジェクト: CatsFromMars/arfpg
	// Use this for initialization
	void Start () {
    textComponent = textbox.GetComponent<TextBox>();
    textComponent.setText("Play fetch with me!");
    pbar = bar.GetComponent<PetBar>();
    pbutton = button.GetComponent<PetButton>();
    buttonThrower = button.GetComponent<Throwable>();
	animator = dog.GetComponent<Animator> ();
	}
コード例 #2
0
ファイル: PlayerOld.cs プロジェクト: bodedoctor/onslaught
    private void Awake()
    {
        Give(PrimaryWeapon);
        // Start with weapon loaded
        PrimaryWeaponAmmo -= primaryWeapon.ClipCapacity;
        primaryWeapon.SetClipRemaining(primaryWeapon.ClipCapacity);

        throwingGrenadeGameObject = (GameObject)Instantiate(ThrowingGrenade, Vector3.zero, Quaternion.identity);
        throwingGrenadeGameObject.transform.parent = transform;
        throwingGrenade = throwingGrenadeGameObject.GetComponent<Throwable>();
        throwingGrenade.InitWeapon();
        throwingGrenade.OnThrow += OnThrowGrenade;

        InitKillable(new Vector3(0, 1, 0));

        animator = transform.GetComponent<Animator>();
        //animationControl = transform.FindChild("NewDude").GetComponent<Animation>();
        //torso = transform.FindChild("NewDude").FindChild("Pelvis").FindChild("Chest");
    }
コード例 #3
0
 /**
  * Constructs a new {@code InvocationTargetException} instance with its
  * cause / target exception filled in.
  *
  * @param exception
  *            the exception which occurred while running the Method or
  *            Constructor
  */
 public InvocationTargetException(java.lang.Throwable exception)
     : base(null, exception)
 {
     target = exception;
 }
コード例 #4
0
 public UndeclaredThrowableException(Throwable arg0, String arg1)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/Throwable;Ljava/lang/String;)V", arg0, arg1);
 }
コード例 #5
0
 /// <summary>
 /// Creates a {@code CertStoreException} with the specified detail
 /// message and cause.
 /// </summary>
 /// <param name="msg"> the detail message </param>
 /// <param name="cause"> the cause (which is saved for later retrieval by the
 /// <seealso cref="#getCause getCause()"/> method). (A {@code null} value is
 /// permitted, and indicates that the cause is nonexistent or unknown.) </param>
 public CertStoreException(String msg, Throwable cause) : base(msg, cause)
 {
 }
コード例 #6
0
 public LambdaConversionException(Throwable arg0)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/Throwable;)V", arg0);
 }
コード例 #7
0
 /// <summary>
 /// Constructor for the <c>InstantiationException</c> object.
 /// This constructor takes a format string an a variable number of
 /// object arguments, which can be inserted into the format string.
 /// </summary>
 /// <param name="cause">
 /// the source exception this is used to represent
 /// </param>
 /// <param name="text">
 /// a format string used to present the error message
 /// </param>
 /// <param name="list">
 /// a list of arguments to insert into the string
 /// </param>
 public InstantiationException(Throwable cause, String text, Object... list) {
    super(cause, text, list);
 }
コード例 #8
0
 /// <summary>
 /// Constructs a <code>SQLTransientException</code> object
 /// with a given
 /// <code>reason</code> and  <code>cause</code>.
 /// The <code>SQLState</code> is  initialized to <code>null</code>
 /// and the vendor code is initialized to 0.
 /// <para>
 /// </para>
 /// </summary>
 /// <param name="reason"> a description of the exception. </param>
 /// <param name="cause"> the underlying reason for this <code>SQLException</code> (which is saved for later retrieval by the <code>getCause()</code> method); may be null indicating
 ///     the cause is non-existent or unknown.
 /// @since 1.6 </param>
 public SQLNonTransientException(String reason, Throwable cause) : base(reason, cause)
 {
 }
コード例 #9
0
 public IllegalArgumentException(String arg0, Throwable arg1)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/String;Ljava/lang/Throwable;)V", arg0, arg1);
 }
コード例 #10
0
 public PageRenderingException(int page, Throwable cause) : base(cause)
 {
     this.Page = page;
 }
コード例 #11
0
        public static void main(string[] args)
        {
            NISTAlign nistalign = new NISTAlign(true, true);

            System.Exception ex4 = null;
            try
            {
                BufferedReader bufferedReader  = new BufferedReader(new InputStreamReader(new FileInputStream(args[0])));
                BufferedReader bufferedReader2 = new BufferedReader(new InputStreamReader(new FileInputStream(args[1])));
                try
                {
                    for (;;)
                    {
                        string text  = bufferedReader.readLine();
                        string text2 = bufferedReader2.readLine();
                        if (text == null)
                        {
                            break;
                        }
                        if (text2 == null)
                        {
                            break;
                        }
                        nistalign.align(text, text2);
                        nistalign.printNISTSentenceSummary();
                    }
                }
                catch (IOException)
                {
                }
            }
            catch (System.Exception ex2)
            {
                ex4 = ex2;
                goto IL_80;
            }
            goto IL_85;
IL_80:
            System.Exception ex5 = ex4;
            goto IL_A6;
IL_85:
            System.Exception ex8 = null;
            try
            {
                nistalign.printNISTTotalSummary();
            }
            catch (System.Exception ex6)
            {
                ex8 = ex6;
                goto IL_A0;
            }
            return;

IL_A0:
            ex5 = ex8;
IL_A6:
            java.lang.System.err.println(ex5);
            Throwable.instancehelper_printStackTrace(ex5);
            [email protected]();
            [email protected]("Usage: align <reference file> <hypothesis file>");
            [email protected]();
        }
コード例 #12
0
 /// <summary>
 /// Constructor for the <c>InvalidFormatException</c> object.
 /// This constructor takes a format string an a variable number of
 /// object arguments, which can be inserted into the format string.
 /// </summary>
 /// <param name="cause">
 /// the source exception this is used to represent
 /// </param>
 /// <param name="text">
 /// a format string used to present the error message
 /// </param>
 /// <param name="list">
 /// a list of arguments to insert into the stri
 /// </param>
 public InvalidFormatException(Throwable cause, String text, Object... list) {
    super(String.format(text, list), cause);
 }
コード例 #13
0
 public SecurityException(Throwable arg0)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/Throwable;)V", arg0);
 }
コード例 #14
0
 /// <summary>
 /// Constructor for the <c>PersistenceException</c> object.
 /// This constructor takes a format string an a variable number of
 /// object arguments, which can be inserted into the format string.
 /// </summary>
 /// <param name="cause">
 /// the source exception this is used to represent
 /// </param>
 /// <param name="text">
 /// a format string used to present the error message
 /// </param>
 /// <param name="list">
 /// a list of arguments to insert into the string
 /// </param>
 public PersistenceException(Throwable cause, String text, Object... list) {
    super(String.format(text, list), cause);
 }
コード例 #15
0
 public InternalError(Throwable arg0)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/Throwable;)V", arg0);
 }
コード例 #16
0
 public ExceptionInInitializerError(Throwable arg0)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/Throwable;)V", arg0);
 }
コード例 #17
0
 public UnsupportedOperationException(String arg0, Throwable arg1)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/String;Ljava/lang/Throwable;)V", arg0, arg1);
 }
コード例 #18
0
ファイル: UnitAction.cs プロジェクト: choephix/G11
 protected ThrowAction( Unit owner, Throwable source, string name )
     : base(owner, source, name, ActionSubjectType.GridTile)
 {
     oneUse = true;
 }
コード例 #19
0
 public void OnFailure(ICall p0, Throwable p1)
 {
     repository.dalCheckCallback.OnDataNotAvailable(p1.Message);
 }
コード例 #20
0
        public void Interact()
        {
            if (carryState == CarryState.NOT_CARRYING)
            {
                if (status.debugging)
                {
                    Debug.DrawRay(transform.position + transform.up * 0.5f, transform.forward * pickupRaycastDistance, Color.magenta, 0.3f);
                }

                RaycastHit hit;
                Ray pickupRay = new Ray(transform.position + transform.up * 0.5f, transform.forward);
                if (Physics.Raycast(pickupRay, out hit, pickupRaycastDistance))
                {
                    if (hit.collider.tag == "Throwable")
                    {
                        // Object is a throwable, pick it up
                        GameObject obj = hit.collider.gameObject;
                        heldObject = obj.GetComponent<Throwable>();
                        carryState = CarryState.CARRYING;
                        heldObject.BeInteractedWith(gameObject, carryPosition);
                    }
                }
            }
            else if (carryState == CarryState.CARRYING)
            {
                carryState = CarryState.NOT_CARRYING;
                heldObject.GetThrown(transform.forward * throwStrength);
                heldObject = null;
                audioScript.Throw();
            }
        }
コード例 #21
0
 /// <summary>
 /// Creates a {@code CertificateParsingException} with the
 /// specified cause and a detail message of
 /// {@code (cause==null ? null : cause.toString())}
 /// (which typically contains the class and detail message of
 /// {@code cause}).
 /// </summary>
 /// <param name="cause"> the cause (which is saved for later retrieval by the
 ///        <seealso cref="#getCause()"/> method).  (A {@code null} value is permitted,
 ///        and indicates that the cause is nonexistent or unknown.)
 /// @since 1.5 </param>
 public CertificateParsingException(Throwable cause) : base(cause)
 {
 }
コード例 #22
0
 /**
  * Constructs a new {@code InvocationTargetException} instance with its
  * cause / target exception filled in.
  *
  * @param exception
  *            the exception which occurred while running the Method or
  *            Constructor
  */
 public InvocationTargetException(java.lang.Throwable exception)
     : base(null, exception)
 {
     target = exception;
 }
コード例 #23
0
 public DOMException(string message = "", long code = 0, Throwable previous = null)
     : base(message, code, previous)
 {
 }
コード例 #24
0
 /**
  * Constructs a new {@code InvocationTargetException} instance with its
  * cause / target exception and message filled in.
  *
  * @param detailMessage
  *            the detail message for the exception
  * @param exception
  *            the exception which occurred while running the Method or
  *            Constructor
  */
 public InvocationTargetException(Throwable exception, String detailMessage)
     : base(detailMessage, exception)
 {
     target = exception;
 }
コード例 #25
0
 /// <summary>
 /// Constructor for the <c>ConstructorException</c> object.
 /// This constructor takes a format string an a variable number of
 /// object arguments, which can be inserted into the format string.
 /// </summary>
 /// <param name="cause">
 /// the source exception this is used to represent
 /// </param>
 /// <param name="text">
 /// a format string used to present the error message
 /// </param>
 /// <param name="list">
 /// a list of arguments to insert into the string
 /// </param>
 public ConstructorException(Throwable cause, String text, Object... list) {
    super(cause, text, list);
 }
コード例 #26
0
		public static void logException(Throwable t) {
			getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, "Unhandled exception", t));
		}
コード例 #27
0
 /// <summary>
 /// Constructor for the <c>ElementException</c> object. This
 /// constructor takes a format string an a variable number of object
 /// arguments, which can be inserted into the format string.
 /// </summary>
 /// <param name="cause">
 /// the source exception this is used to represent
 /// </param>
 /// <param name="text">
 /// a format string used to present the error message
 /// </param>
 /// <param name="list">
 /// a list of arguments to insert into the string
 /// </param>
 public ElementException(Throwable cause, String text, Object... list) {
    super(cause, text, list);
 }
コード例 #28
0
 public BootstrapMethodError(Throwable arg0)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/Throwable;)V", arg0);
 }
コード例 #29
0
 public AssertionError(String arg0, Throwable arg1)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/String;Ljava/lang/Throwable;)V", arg0, arg1);
 }
コード例 #30
0
 public BootstrapMethodError(String arg0, Throwable arg1)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/String;Ljava/lang/Throwable;)V", arg0, arg1);
 }
コード例 #31
0
 /// <summary>
 /// Creates a {@code CertStoreException} that wraps the specified
 /// throwable. This allows any exception to be converted into a
 /// {@code CertStoreException}, while retaining information about the
 /// cause, which may be useful for debugging. The detail message is
 /// set to ({@code cause==null ? null : cause.toString()}) (which
 /// typically contains the class and detail message of cause).
 /// </summary>
 /// <param name="cause"> the cause (which is saved for later retrieval by the
 /// <seealso cref="#getCause getCause()"/> method). (A {@code null} value is
 /// permitted, and indicates that the cause is nonexistent or unknown.) </param>
 public CertStoreException(Throwable cause) : base(cause)
 {
 }
コード例 #32
0
 /// <summary>
 ///  Constructs a <code>SQLRecoverableException</code> object
 /// with a given
 /// <code>reason</code>, <code>SQLState</code>, <code>vendorCode</code>
 /// and  <code>cause</code>.
 /// <para>
 /// </para>
 /// </summary>
 /// <param name="reason"> a description of the exception </param>
 /// <param name="SQLState"> an XOPEN or SQL:2003 code identifying the exception </param>
 /// <param name="vendorCode"> a database vendor-specific exception code </param>
 /// <param name="cause"> the underlying reason for this <code>SQLException</code> (which is saved for later retrieval by the <code>getCause()</code> method); may be null indicating
 ///     the cause is non-existent or unknown.
 /// @since 1.6 </param>
 public SQLRecoverableException(String reason, String SQLState, int vendorCode, Throwable cause) : base(reason, SQLState, vendorCode, cause)
 {
 }
コード例 #33
0
 private void AndroidEnvironmentUnhandledExceptionRaiser(object sender, RaiseThrowableEventArgs e)
 {
     ProcessException(Throwable.FromException(e.Exception));
 }
コード例 #34
0
 public override void OnFailed(Throwable throwable)
 {
     base.OnFailed(throwable);
 }
コード例 #35
0
 /**
  * Constructs a new {@code InvocationTargetException} instance with its
  * cause / target exception and message filled in.
  *
  * @param detailMessage
  *            the detail message for the exception
  * @param exception
  *            the exception which occurred while running the Method or
  *            Constructor
  */
 public InvocationTargetException(Throwable exception, String detailMessage)
     : base(detailMessage, exception)
 {
     target = exception;
 }
コード例 #36
0
 public void OnFailure(ICall p0, Throwable p1)
 {
 }
コード例 #37
0
 public void OnFailure(ICall call, Throwable response)
 {
     repository.mDalService.Check(repository.webDomain, PERMISSION_HANDLE_ALL_URLS, repository.packageName, repository.fingerprint);
 }
コード例 #38
0
ファイル: JNIEnv.cs プロジェクト: cd37ycs/jni4net
        public void Throw(Throwable ex)
        {
            JniHandle ptr = ex.jvmHandle;

            Throw(ptr);
        }
コード例 #39
0
 public void UncaughtException(Thread t, Throwable e)
 {
コード例 #40
0
ファイル: CommonsLogger.cs プロジェクト: ctddjyds/npoi
        /**
         * Log a message
         *
         * @param level One of DEBUG, INFO, WARN, ERROR, FATAL
         * @param obj1 The object to log.  This is Converted to a string.
         * @param exception An exception to be logged
         */
        public void log(int level, Object obj1,
                        Throwable exception)
        {
            if (level == FATAL)
            {
                if (log.IsFatalEnabled())
                {
                    if (obj1 != null)
                        log.Fatal(obj1, exception);
                    else
                        log.Fatal(exception);
                }
            }
            else if (level == ERROR)
            {
                if (log.IsErrorEnabled())
                {
                    if (obj1 != null)
                        log.Error(obj1, exception);
                    else
                        log.Error(exception);
                }
            }
            else if (level == WARN)
            {
                if (log.IsWarnEnabled())
                {
                    if (obj1 != null)
                        log.Warn(obj1, exception);
                    else
                        log.Warn(exception);
                }
            }
            else if (level == INFO)
            {
                if (log.IsInfoEnabled())
                {
                    if (obj1 != null)
                        log.Info(obj1, exception);
                    else
                        log.Info(exception);
                }
            }
            else if (level == DEBUG)
            {
                if (log.IsDebugEnabled())
                {
                    if (obj1 != null)
                        log.Debug(obj1, exception);
                    else
                        log.Debug(exception);
                }
            }
            else
            {
                if (log.IsTraceEnabled())
                {
                    if (obj1 != null)
                        log.Trace(obj1, exception);
                    else
                        log.Trace(exception);
                }
            }

        }
コード例 #41
0
 /// <summary>
 /// Creates a {@code CertificateParsingException} with the specified
 /// detail message and cause.
 /// </summary>
 /// <param name="message"> the detail message (which is saved for later retrieval
 ///        by the <seealso cref="#getMessage()"/> method). </param>
 /// <param name="cause"> the cause (which is saved for later retrieval by the
 ///        <seealso cref="#getCause()"/> method).  (A {@code null} value is permitted,
 ///        and indicates that the cause is nonexistent or unknown.)
 /// @since 1.5 </param>
 public CertificateParsingException(String message, Throwable cause) : base(message, cause)
 {
 }
コード例 #42
0
 public Error(string message = "", long code = 0, Throwable previous = null)
 {
     __construct(message, code, previous);
 }
コード例 #43
0
 /// <summary>
 /// Constructs a <code>SQLNonTransientException</code> object
 ///  with a given  <code>cause</code>.
 /// The <code>SQLState</code> is initialized
 /// to <code>null</code> and the vendor code is initialized to 0.
 /// The <code>reason</code>  is initialized to <code>null</code> if
 /// <code>cause==null</code> or to <code>cause.toString()</code> if
 /// <code>cause!=null</code>.
 /// <para>
 /// </para>
 /// </summary>
 /// <param name="cause"> the underlying reason for this <code>SQLException</code> (which is saved for later retrieval by the <code>getCause()</code> method); may be null indicating
 ///     the cause is non-existent or unknown.
 /// @since 1.6 </param>
 public SQLNonTransientException(Throwable cause) : base(cause)
 {
 }
コード例 #44
0
 public void __construct(string message = "", long code = 0, Throwable previous = null)
 {
     this.message = message;
     this.code    = code;
 }
コード例 #45
0
 /// <summary>
 ///  Constructs a <code>SQLNonTransientException</code> object
 /// with a given
 /// <code>reason</code>, <code>SQLState</code>, <code>vendorCode</code>
 /// and  <code>cause</code>.
 /// <para>
 /// </para>
 /// </summary>
 /// <param name="reason"> a description of the exception </param>
 /// <param name="SQLState"> an XOPEN or SQL:2003 code identifying the exception </param>
 /// <param name="vendorCode"> a database vendor-specific exception code </param>
 /// <param name="cause"> the underlying reason for this <code>SQLException</code> (which is saved for later retrieval by the <code>getCause()</code> method); may be null indicating
 ///     the cause is non-existent or unknown.
 /// @since 1.6 </param>
 public SQLNonTransientException(String reason, String SQLState, int vendorCode, Throwable cause) : base(reason, SQLState, vendorCode, cause)
 {
 }
コード例 #46
0
 @Override public void onError(Throwable e) { e.printStackTrace(); }
コード例 #47
0
 public IllegalStateException(Throwable arg0)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/Throwable;)V", arg0);
 }
コード例 #48
0
ファイル: Mail.cs プロジェクト: liulilittle/nsjs
 private static void InternalSend(IntPtr info, bool synchronization)
 {
     ObjectAuxiliary.Call <MailClient>(info, (smtp, arguments) =>
     {
         do
         {
             NSJSVirtualMachine machine = arguments.VirtualMachine;
             if (arguments.Length <= 0)
             {
                 Throwable.ArgumentException(machine);
                 break;
             }
             MailMessage message = null;
             try
             {
                 message = ObjectAuxiliary.ToMailMessage(arguments[0]);
             }
             catch (Exception exception)
             {
                 Throwable.Exception(machine, exception);
                 break;
             }
             if (message == null)
             {
                 Throwable.ArgumentNullException(machine);
                 break;
             }
             if (synchronization)
             {
                 arguments.SetReturnValue(smtp.Send(message));
             }
             else
             {
                 NSJSFunction function        = arguments.Length > 1 ? arguments[1] as NSJSFunction : null;
                 Action <Exception> callbackt = null;
                 if (function != null)
                 {
                     callbackt = (exception) => machine.Join((sender, state) =>
                                                             function.Call(new[] { Throwable.FormatMessage(exception) }));
                     function.CrossThreading = true;
                 }
                 arguments.SetReturnValue(smtp.SendAsync(message, callbackt));
             }
         } while (false);
     });
 }
コード例 #49
0
 void Start()
 {
     es = EventSystem.current;
     rb = GetComponent<Rigidbody2D>();
     motor = GetComponent<PlayerMotor>();
     anim = GetComponent<Animator>();
     throwable = GetComponent<Throwable>();
     audioSource = GetComponent<AudioSource>();
     GameObject globalGM = GameObject.FindGameObjectWithTag("globalGM");
     if (globalGM != null) { cameraBackToPositionTime = globalGM.GetComponent<UIManager>().fadeTime; }
     halfBackTime = new WaitForSeconds(cameraBackToPositionTime / 2);
     fullBackTime = new WaitForSeconds(cameraBackToPositionTime);
     blinkTimeWFS = new WaitForSeconds(blinkTime);
     lookUpTimeWFS = new WaitForSeconds(lookUpTime);
     wait = false;
     alive = true;
     canLoad = true;
     canTouch = true;
     StartCoroutine(WaitAtStart());
     time = 0;
 }
コード例 #50
0
 public NITFSRuntimeException(Throwable throwable)
 {
     base(throwable);
     log(this.getMessage());
 }
コード例 #51
0
 public ClassNotFoundException(String arg0, Throwable arg1)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/String;Ljava/lang/Throwable;)V", arg0, arg1);
 }
コード例 #52
0
 public NITFSRuntimeException(String messageID, String parameters, Throwable throwable)
 {
     base(Logging.getMessage(messageID) + parameters, throwable);
     log(this.getMessage());
 }
コード例 #53
0
 public LambdaConversionException(String arg0, Throwable arg1)
     : base(ProxyCtor.I)
 {
     Instance.CallConstructor("(Ljava/lang/String;Ljava/lang/Throwable;)V", arg0, arg1);
 }
コード例 #54
0
 public void OnFailure(Throwable p0)
 {
     Failure?.Invoke(p0);
 }
コード例 #55
0
 /// <summary>
 /// Constructor for the <c>ValueRequiredException</c> object.
 /// This constructor takes a format string an a variable number of
 /// object arguments, which can be inserted into the format string.
 /// </summary>
 /// <param name="cause">
 /// the source exception this is used to represent
 /// </param>
 /// <param name="text">
 /// a format string used to present the error message
 /// </param>
 /// <param name="list">
 /// a list of arguments to insert into the string
 /// </param>
 public ValueRequiredException(Throwable cause, String text, Object... list) {
    super(cause, text, list);
 }
コード例 #56
0
 /// <summary>
 /// Constructs an InvalidPreferencesFormatException with the specified
 /// cause.
 /// </summary>
 /// <param name="cause"> the cause (which is saved for later retrieval by the
 ///         <seealso cref="Throwable#getCause()"/> method). </param>
 public InvalidPreferencesFormatException(Throwable cause) : base(cause)
 {
 }
コード例 #57
0
 /// <summary>
 /// Constructor for the <c>TransformException</c> object.
 /// This constructor takes a format string an a variable number of
 /// object arguments, which can be inserted into the format string.
 /// </summary>
 /// <param name="cause">
 /// the source exception this is used to represent
 /// </param>
 /// <param name="text">
 /// a format string used to present the error message
 /// </param>
 /// <param name="list">
 /// a list of arguments to insert into the stri
 /// </param>
 public TransformException(Throwable cause, String text, Object... list) {
    super(String.format(text, list), cause);
 }
コード例 #58
0
 /// <summary>
 /// Constructs an InvalidPreferencesFormatException with the specified
 /// detail message and cause.
 /// </summary>
 /// <param name="message">   the detail message. The detail message is saved for
 ///         later retrieval by the <seealso cref="Throwable#getMessage()"/> method. </param>
 /// <param name="cause"> the cause (which is saved for later retrieval by the
 ///         <seealso cref="Throwable#getCause()"/> method). </param>
 public InvalidPreferencesFormatException(String message, Throwable cause) : base(message, cause)
 {
 }
コード例 #59
0
 /// <summary>
 /// Constructor for the <c>AttributeException</c> object. This
 /// constructor takes a format string an a variable number of object
 /// arguments, which can be inserted into the format string.
 /// </summary>
 /// <param name="cause">
 /// the source exception this is used to represent
 /// </param>
 /// <param name="text">
 /// a format string used to present the error message
 /// </param>
 /// <param name="list">
 /// a list of arguments to insert into the string
 /// </param>
 public AttributeException(Throwable cause, String text, Object... list) {
    super(cause, text, list);
 }
コード例 #60
0
ファイル: MTInvokeAfter.cs プロジェクト: hnjm/tgsharp
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     Throwable.__ <suppressFillInStackTrace>();
     throw new UnsupportedOperationException("Unable to deserialize invokeAfterMsg#-878758099");
 }